Fixes AI visiblity checks (#31819)

This commit is contained in:
YPOQ
2017-10-19 04:42:24 -06:00
committed by CitadelStationBot
parent 98a583b249
commit d04818e6f9
4 changed files with 24 additions and 25 deletions
+1 -1
View File
@@ -798,7 +798,7 @@
// Otherwise it will runtime with this kind of error: null.Topic()
if(!nowindow)
..()
if(usr.incapacitated() && !IsAdminGhost(usr))
if(!usr.canUseTopic(src) && !IsAdminGhost(usr))
return
add_fingerprint(usr)
if(href_list["close"])