Initialize fixing (#17279)

* Initialoize fixing

* diff fix

* add init grep test

* fixed missed ones

* .

* some more

* ,
This commit is contained in:
Kashargul
2025-03-08 13:59:29 -05:00
committed by GitHub
parent 76183beaa5
commit 46bea7cfa2
755 changed files with 1905 additions and 1904 deletions
@@ -7,16 +7,12 @@
icon_state = "drop_marker"
/obj/effect/calldown_attack/Initialize(mapload)
..()
return INITIALIZE_HINT_LATELOAD
/obj/effect/calldown_attack/LateInitialize()
var/delay = rand(25, 30)
spawn(delay-7)
new /obj/effect/falling_effect/calldown_attack(src.loc)
spawn(delay)
qdel(src)
addtimer(CALLBACK(src, PROC_REF(spawn_object)), delay-7)
/obj/effect/calldown_attack/proc/spawn_object()
new /obj/effect/falling_effect/calldown_attack(loc)
QDEL_IN(src, 0.7 SECONDS)
/obj/effect/falling_effect/calldown_attack
falling_type = /obj/effect/illusionary_fall
@@ -42,4 +38,4 @@
if(!L.apply_damage(35, BRUTE, target_zone, blocked, soaked))
break
playsound(src, 'sound/effects/clang2.ogg', 50, 1)
qdel(src)
qdel(src)