mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 02:56:14 +01:00
Merge pull request #10971 from VOREStation/Arokha/4runtimefixes
4 random runtime fixes
This commit is contained in:
@@ -335,7 +335,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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user