mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
ensure atoms spawned over chasms fall when appropriate (#28889)
* ensure atoms spawned over chasms fall when appropriate * no more sleepy
This commit is contained in:
@@ -42,6 +42,14 @@
|
||||
var/drop_y = 1
|
||||
var/drop_z = 2 // so that it doesn't send you to CC if something fucks up.
|
||||
|
||||
/turf/simulated/floor/chasm/Initialize(mapload)
|
||||
. = ..()
|
||||
RegisterSignal(src, COMSIG_ATOM_AFTER_SUCCESSFUL_INITIALIZED_ON, PROC_REF(on_new_atom_at_loc))
|
||||
|
||||
/turf/simulated/floor/chasm/proc/on_new_atom_at_loc(turf/location, atom/created, init_flags)
|
||||
SIGNAL_HANDLER // COMSIG_ATOM_AFTER_SUCCESSFUL_INITIALIZED_ON
|
||||
drop_stuff(created)
|
||||
|
||||
/turf/simulated/floor/chasm/Entered(atom/movable/AM)
|
||||
..()
|
||||
START_PROCESSING(SSprocessing, src)
|
||||
|
||||
Reference in New Issue
Block a user