mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
Fixes a way to get a very long gold number (#82976)
## About The Pull Request Fixes this  Which occurs when you spam flee, since it unrestrictedly halves your gold. ## Why It's Good For The Game another arcade issue gone. ## Changelog 🆑 fix: Constantly fleeing in Battle Arcade will no longer give you a very large amount of decimals due to halving your gold every time. /🆑
This commit is contained in:
@@ -531,7 +531,8 @@
|
||||
return
|
||||
player_turn = TRUE
|
||||
ui_panel = UI_PANEL_WORLD_MAP
|
||||
player_gold /= 2
|
||||
if(player_gold)
|
||||
player_gold = max(round(player_gold /= 2, 1), 0)
|
||||
return TRUE
|
||||
//they pressed something but it wasn't in the menu, we'll be nice and give them back their turn anyway.
|
||||
player_turn = TRUE
|
||||
|
||||
Reference in New Issue
Block a user