Merge pull request #15209 from SteelSlayer/spawn-removal

Removes a bunch of spawn()'s
This commit is contained in:
Fox McCloud
2021-03-07 21:10:39 -05:00
committed by GitHub
22 changed files with 82 additions and 103 deletions
@@ -128,8 +128,7 @@
if(powered())
stat &= ~NOPOWER
else
spawn(rand(0, 15))
stat |= NOPOWER
stat |= NOPOWER
/obj/machinery/chem_dispenser/ex_act(severity)
if(severity < 3)
@@ -58,8 +58,7 @@
if(powered())
stat &= ~NOPOWER
else
spawn(rand(0, 15))
stat |= NOPOWER
stat |= NOPOWER
/obj/machinery/chem_heater/attackby(obj/item/I, mob/user)
if(isrobot(user))
@@ -80,8 +80,7 @@
if(powered())
stat &= ~NOPOWER
else
spawn(rand(0, 15))
stat |= NOPOWER
stat |= NOPOWER
update_icon()
/obj/machinery/chem_master/attackby(obj/item/I, mob/user, params)