Merge pull request #38452 from AutomaticFrenzy/patch/examinate

Fix being able to examine out-of-view turfs
This commit is contained in:
Jordan Brown
2018-06-14 15:27:09 -04:00
committed by GitHub
+4
View File
@@ -293,6 +293,10 @@
set name = "Examine"
set category = "IC"
if(isturf(A) && !(sight & SEE_TURFS) && !(A in view(client ? client.view : world.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