Fixes a runtime with IsAdminGhost

This commit is contained in:
Shadowlight213
2016-04-07 00:05:29 -07:00
parent 5cd6ac52db
commit 9e296ed32e
+2
View File
@@ -438,6 +438,8 @@ It's fairly easy to fix if dealing with single letters but not so much with comp
return
/proc/IsAdminGhost(var/mob/user)
if(!user) //Are they a mob? Auto interface updates call this with a null src
return
if(!user.client) // Do they have a client?
return
if(!isobserver(user)) // Are they a ghost?