One more forgotten exception

This commit is contained in:
Heroman
2019-06-28 17:13:42 +10:00
parent a16fcd2ae5
commit cbb37fdeb1

View File

@@ -205,7 +205,7 @@
if(telemob.can_be_drop_prey && telenommer.can_be_drop_pred) if(telemob.can_be_drop_prey && telenommer.can_be_drop_pred)
return 1 return 1
obstructed = 1 obstructed = 1
else if(!((isturf(destination) && !destination.density) || isturf(destination.loc)) || !destination.x || !destination.y || !destination.z) //If we're inside something or outside universe else if(!((isturf(destination) && !destination.density) || (isturf(destination.loc) && !destination.loc.density)) || !destination.x || !destination.y || !destination.z) //If we're inside something or outside universe
obstructed = 1 obstructed = 1
to_chat(teleatom, "<span class='warning'>Something is blocking way on the other side!</span>") to_chat(teleatom, "<span class='warning'>Something is blocking way on the other side!</span>")
if(obstructed) if(obstructed)