unregister COMSIG_ATOM_AFTER_SUCCESSFUL_INITIALIZED_ON on chasm turfchange (#28960)

This commit is contained in:
warriorstar-orion
2025-04-11 14:22:16 -04:00
committed by GitHub
parent 2917943cfb
commit 27a2ea6737
+4
View File
@@ -50,6 +50,10 @@
SIGNAL_HANDLER // COMSIG_ATOM_AFTER_SUCCESSFUL_INITIALIZED_ON
drop_stuff(created)
/turf/simulated/floor/chasm/ChangeTurf(turf/simulated/floor/T, defer_change, keep_icon, ignore_air, copy_existing_baseturf)
UnregisterSignal(src, COMSIG_ATOM_AFTER_SUCCESSFUL_INITIALIZED_ON)
. = ..()
/turf/simulated/floor/chasm/Entered(atom/movable/AM)
..()
START_PROCESSING(SSprocessing, src)