Renames IsAGhost to IsAdminGhost.

Reworks checks to not need stat to be 0
Fixes the majority of the Nanoui bugs.
This commit is contained in:
Shadowlight213
2015-12-06 20:21:43 -08:00
parent 828f880432
commit 74c27189b9
24 changed files with 45 additions and 45 deletions

View File

@@ -176,10 +176,10 @@
/obj/item/device/radio/Topic(href, href_list)
//..()
if (usr.stat || !on)
if ((usr.stat && !IsAdminGhost(usr)) || !on)
return
if (!(issilicon(usr) || (usr.contents.Find(src) || ( in_range(src, usr) && istype(loc, /turf) ))))
if (!(issilicon(usr) || IsAdminGhost(usr) || (usr.contents.Find(src) || ( in_range(src, usr) && istype(loc, /turf) ))))
usr << browse(null, "window=radio")
return
usr.set_machine(src)