do_teleport now also checks the destination

This commit is contained in:
nichlas0010
2018-11-26 15:24:59 +01:00
committed by GitHub
parent 9513eebde2
commit 4b2db8fae2
+2 -1
View File
@@ -51,7 +51,8 @@
return FALSE
var/area/A = get_area(curturf)
if(A.noteleport)
var/area/B = get_area(destturf)
if(A.noteleport || B.noteleport)
return FALSE
tele_play_specials(teleatom, curturf, effectin, asoundin)