diff --git a/code/modules/clothing/spacesuits/rig/rig.dm b/code/modules/clothing/spacesuits/rig/rig.dm index f442ecff07..d518848dc2 100644 --- a/code/modules/clothing/spacesuits/rig/rig.dm +++ b/code/modules/clothing/spacesuits/rig/rig.dm @@ -335,7 +335,7 @@ if("helmet") to_chat(M, "\The [piece] hisses [!seal_target ? "closed" : "open"].") M.update_inv_head() - if(helmet) + if(helmet?.light_system == STATIC_LIGHT) helmet.update_light(wearer) //sealed pieces become airtight, protecting against diseases diff --git a/code/modules/food/food/snacks.dm b/code/modules/food/food/snacks.dm index 7a0daebe5f..5d2c6f3ca9 100644 --- a/code/modules/food/food/snacks.dm +++ b/code/modules/food/food/snacks.dm @@ -1014,7 +1014,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) diff --git a/code/modules/reagents/holder/holder.dm b/code/modules/reagents/holder/holder.dm index cdb602ad70..8ddf4752b5 100644 --- a/code/modules/reagents/holder/holder.dm +++ b/code/modules/reagents/holder/holder.dm @@ -123,7 +123,7 @@ add_reagent_id = "[item]juice" if(add_reagent_id) //If we did find it, add it to our list of reagents to add, and add the number to our total. add_reagents[add_reagent_id] += data[item] - totalnum += data[item] + totalnum += data[item] if(totalnum) var/multconst = amount/totalnum //We're going to add these extra reagents so that they share the ratio described, but only add up to 1x the existing amount at the most diff --git a/code/modules/vore/fluffstuff/custom_clothes_vr.dm b/code/modules/vore/fluffstuff/custom_clothes_vr.dm index 7ff0d97769..7cba0803a3 100644 --- a/code/modules/vore/fluffstuff/custom_clothes_vr.dm +++ b/code/modules/vore/fluffstuff/custom_clothes_vr.dm @@ -2319,7 +2319,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"