Dephase shots (#18609)

This commit is contained in:
Cameron Lennox
2025-10-09 15:16:30 +02:00
committed by GitHub
parent f862b94fc9
commit 801288190c
2 changed files with 25 additions and 3 deletions
@@ -102,6 +102,15 @@
phase_out(T, SK)
/mob/living/proc/phase_in(var/turf/T, var/datum/component/shadekin/SK)
//In case we're not passed args, do it ourself.
if(!T)
T = get_turf(src)
if(!T)
return
if(!SK)
SK = get_shadekin_component()
if(!SK)
return
if(SK.in_phase)
// pre-change