multiz movement refactor redux (#62132)

This commit is contained in:
Ghom
2021-12-06 23:13:48 -08:00
committed by GitHub
parent c5ddfdf964
commit 21ac10d3d4
38 changed files with 497 additions and 260 deletions
+2 -3
View File
@@ -195,10 +195,9 @@ SUBSYSTEM_DEF(throwing)
if (callback)
callback.Invoke()
if(!thrownthing.zfalling) // I don't think you can zfall while thrown but hey, just in case.
if(!thrownthing.currently_z_moving) // I don't think you can zfall while thrown but hey, just in case.
var/turf/T = get_turf(thrownthing)
if(T && thrownthing.has_gravity(T))
T.zFall(thrownthing)
T?.zFall(thrownthing)
if(thrownthing)
SEND_SIGNAL(thrownthing, COMSIG_MOVABLE_THROW_LANDED, src)