Fixes handtele crashing the server (#30591)

This commit is contained in:
ShiftyRail
2021-09-07 15:02:58 +01:00
committed by GitHub
parent 4e2aa77898
commit 69eeee4714
16 changed files with 19 additions and 17 deletions

View File

@@ -147,7 +147,7 @@
AA.invoke_event(/event/z_transition, list("user" = AA, "from_z" = curturf.z, "to_z" = destturf.z))
if(force_teleport)
teleatom.forceMove(destturf,TRUE)
teleatom.forceMove(destturf, from_tp = TRUE)
playSpecials(destturf,effectout,soundout)
else
if(teleatom.Move(destturf))