Makes the walls from Desecrated Duel GC properly (#24990)

* GC is a thing of all time

* Spacing
This commit is contained in:
DGamerL
2024-04-24 05:45:16 +00:00
committed by GitHub
parent d233824add
commit 6c756f98c0
2 changed files with 4 additions and 1 deletions
@@ -259,6 +259,7 @@
user.apply_status_effect(STATUS_EFFECT_VAMPIRE_GLADIATOR)
spell_active = TRUE
timer = addtimer(CALLBACK(src, PROC_REF(dispel), user, TRUE), 30 SECONDS, TIMER_STOPPABLE)
INVOKE_ASYNC(src, PROC_REF(arena_trap), get_turf(target)) //Gets another arena trap queued up for when this one runs out.
RegisterSignal(user, COMSIG_PARENT_QDELETING, PROC_REF(dispel))
arena_checks(get_turf(target), user)
@@ -266,7 +267,6 @@
if(!spell_active || QDELETED(src))
return
INVOKE_ASYNC(src, PROC_REF(fighters_check), user) //Checks to see if our fighters died.
INVOKE_ASYNC(src, PROC_REF(arena_trap), target_turf) //Gets another arena trap queued up for when this one runs out.
addtimer(CALLBACK(src, PROC_REF(arena_checks), target_turf, user), 5 SECONDS)
/datum/spell/vampire/arena/proc/arena_trap(turf/target_turf)