mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
4 random runtime fixes
This commit is contained in:
@@ -337,7 +337,7 @@
|
||||
if("helmet")
|
||||
to_chat(M, "<span class='notice'>\The [piece] hisses [!seal_target ? "closed" : "open"].</span>")
|
||||
M.update_inv_head()
|
||||
if(helmet)
|
||||
if(helmet?.light_system == STATIC_LIGHT)
|
||||
helmet.update_light(wearer)
|
||||
|
||||
//sealed pieces become airtight, protecting against diseases
|
||||
|
||||
@@ -1020,7 +1020,9 @@
|
||||
|
||||
/obj/item/weapon/reagent_containers/food/snacks/donkpocket/proc/cooltime()
|
||||
if (src.warm)
|
||||
spawn(4200)
|
||||
spawn(420 SECONDS)
|
||||
if(!src?.reagents)
|
||||
return
|
||||
src.warm = 0
|
||||
for(var/reagent in heated_reagents)
|
||||
src.reagents.del_reagent(reagent)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -2320,7 +2320,7 @@ Departamental Swimsuits, for general use
|
||||
item_state = "rgb"
|
||||
overlay_state = "rgb"
|
||||
to_chat(user, "The polychromic plates in your cloak activate, turning it white.")
|
||||
has_suit.update_clothing_icon()
|
||||
has_suit?.update_clothing_icon()
|
||||
|
||||
/obj/item/clothing/accessory/poncho/roles/cloak/fluff/cloakglowing/verb/color_verb()
|
||||
set name = "Swap color"
|
||||
|
||||
Reference in New Issue
Block a user