mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Another bunch of runtime fixes. (#48315)
* Pipe init runtime * Modular computer explosion runtime. * Waterbottle thrown by explosion runtime. * Spark runtime. Should systems continue after deletion ? * restore ghost appearance runtime * parallax update timer runtime. * borg unbuckling runtime * surgery cancel runtime. FALSE is not a null. * relic self deletion runtime. * dog collar runtime * Another part of that buckled_mobs robot runtime. * Let's go over all of these * free () Co-Authored-By: MrPerson <spamtaffic@gmail.com> Co-authored-by: MrPerson <spamtaffic@gmail.com>
This commit is contained in:
committed by
skoglol
co-authored by
MrPerson
parent
7e78755bc3
commit
c06a1324b3
@@ -51,6 +51,8 @@ would spawn and follow the beaker, even if it is carried or thrown.
|
||||
holder = atom
|
||||
|
||||
/datum/effect_system/proc/start()
|
||||
if(QDELETED(src))
|
||||
return
|
||||
for(var/i in 1 to number)
|
||||
if(total_effects > 20)
|
||||
return
|
||||
@@ -70,7 +72,8 @@ would spawn and follow the beaker, even if it is carried or thrown.
|
||||
for(var/j in 1 to steps_amt)
|
||||
sleep(5)
|
||||
step(E,direction)
|
||||
addtimer(CALLBACK(src, .proc/decrement_total_effect), 20)
|
||||
if(!QDELETED(src))
|
||||
addtimer(CALLBACK(src, .proc/decrement_total_effect), 20)
|
||||
|
||||
/datum/effect_system/proc/decrement_total_effect()
|
||||
total_effects--
|
||||
|
||||
Reference in New Issue
Block a user