mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 06:28:01 +01:00
Initialize fixing (#17279)
* Initialoize fixing * diff fix * add init grep test * fixed missed ones * . * some more * ,
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user