[NO GBP] Fixing fishing bait-related calculations (#84784)

## About The Pull Request
I subtracted the wrong way around. I should have probably tested it
properly before.

## Why It's Good For The Game
We want a positive integer, not a negative one.

## Changelog

🆑
fix: Fixed a whoopsie with bait-related calculations for fishing. 
/🆑
This commit is contained in:
Ghom
2024-07-09 17:57:28 +02:00
committed by GitHub
parent 6d85d32956
commit 69aacabfb8
+1 -1
View File
@@ -310,7 +310,7 @@ GLOBAL_LIST(fishing_property_cache)
highest_fish_weight = fish_weight
for(var/fish in collected_fish_weights)
var/difference = collected_fish_weights[fish] - highest_fish_weight
var/difference = highest_fish_weight - collected_fish_weights[fish]
if(!difference)
continue
final_table[fish] += round(difference**leveling_exponent, 1)