mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Reversions and fixes (#7889)
Co-authored-by: Selis <selis@xynolabs.com>
This commit is contained in:
@@ -253,6 +253,7 @@
|
||||
if(!uses_charge)
|
||||
amount -= used
|
||||
if (amount <= 0)
|
||||
amount = 0 // stop amount going negative ideally
|
||||
qdel(src) //should be safe to qdel immediately since if someone is still using this stack it will persist for a little while longer
|
||||
update_icon()
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user