Fix being able to examine out-of-view turfs

This commit is contained in:
Tad Hardesty
2018-06-13 00:06:20 -07:00
parent 7d447ba6a5
commit abbc32e0a1
+4
View File
@@ -293,6 +293,10 @@
set name = "Examine"
set category = "IC"
if(isturf(A) && !(sight & SEE_TURFS) && !(A in view(src)))
// shift-click catcher may issue examinate() calls for out-of-sight turfs
return
if(is_blind(src))
to_chat(src, "<span class='notice'>Something is there but you can't see it.</span>")
return