Skip to content

Commit

Permalink
Пилим пилим
Browse files Browse the repository at this point in the history
Co-authored-by: Helg2 <[email protected]>
Signed-off-by: MrFloppa <[email protected]>
  • Loading branch information
MrShlepa and Helg2 authored Dec 14, 2024
1 parent 2f93e48 commit 8d0e63a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/economy/cash.dm
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@

/obj/item/spacecash/bundle/attack_self(mob/user)
var/oldloc = loc
var/amount = tgui_input_number(user, "How many rubles do you want to take? (0 to [worth])", "Take Money", 20, max_value = worth)
if(amount==0)
var/amount = tgui_input_number(user, "How many rubles do you want to take? (0 to [worth])", "Take Money", 20, worth)
if(amount == 0)
return 0
if(gc_destroyed || loc != oldloc)
return
Expand Down

0 comments on commit 8d0e63a

Please sign in to comment.