mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Spaceproof plasmaman EVA suits from cargo can have their extinguisher properly refueled (#93812)
## About The Pull Request Refueling them now gives them 10 charges like it's supposed to. You cant reduce it's charges by refueling it now ## Why It's Good For The Game Fix bug ## Changelog 🆑 Cat fix: Plasmaman EVA suits from cargo can have their extinguisher refueled fully now /🆑 --------- Co-authored-by: John Doe <markkavalerov87@gmail.com> Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
co-authored by
John Doe
MrMelbert
parent
7279c6e908
commit
b08cb86bd6
@@ -59,11 +59,11 @@
|
||||
if (!istype(tool, /obj/item/extinguisher_refill))
|
||||
return
|
||||
|
||||
if (extinguishes_left == 5)
|
||||
if (extinguishes_left == initial(extinguishes_left))
|
||||
to_chat(user, span_notice("The inbuilt extinguisher is full."))
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
|
||||
extinguishes_left = 5
|
||||
extinguishes_left = initial(extinguishes_left)
|
||||
to_chat(user, span_notice("You refill the suit's built-in extinguisher, using up the cartridge."))
|
||||
check_fire_state()
|
||||
qdel(tool)
|
||||
|
||||
Reference in New Issue
Block a user