Somehow missed some shit

This commit is contained in:
D3athrow
2015-03-15 17:02:37 -05:00
parent 013badf897
commit 1da7a0c38c
5 changed files with 6 additions and 6 deletions

View File

@@ -136,7 +136,7 @@
time_since_fail = 0
/obj/machinery/shield_capacitor/Topic(href, href_list[])
if(usr.z != z) return 1
if(!isAI(usr) && usr.z != z) return 1
..()
if( href_list["close"] )
usr << browse(null, "window=shield_capacitor")

View File

@@ -99,7 +99,7 @@
/obj/machinery/shield_gen/attack_ghost(mob/user)
if(isAdminGhost(user)) src.attack_hand(user)
return
/obj/machinery/shield_gen/interact(mob/user)
if ( (get_dist(src, user) > 1 ) || (stat & (BROKEN|NOPOWER)) )
if (!istype(user, /mob/living/silicon))
@@ -188,7 +188,7 @@
average_field_strength = 0
/obj/machinery/shield_gen/Topic(href, href_list[])
if(usr.z != z) return 1
if(!isAI(usr) && usr.z != z) return 1
..()
if( href_list["close"] )
usr << browse(null, "window=shield_generator")

View File

@@ -182,7 +182,7 @@ Outlet Temperature: [round(circ2.air2.temperature, 0.1)] K<BR>"}
/obj/machinery/power/generator/Topic(href, href_list)
if(usr.z != z) return 1
if(!isAI(usr) && usr.z != z) return 1
if("close" in href_list)
usr << browse(null, "window=teg")
usr.unset_machine()

View File

@@ -282,7 +282,7 @@
ui.set_auto_update(1)
/obj/machinery/power/smes/Topic(href, href_list)
if(usr.z != z) return 1
if(!isAI(usr) && usr.z != z) return 1
..()
if(href_list["close"])
if(usr.machine == src) usr.unset_machine()

View File

@@ -169,7 +169,7 @@
return
/obj/machinery/power/turbine/Topic(href, href_list)
if(usr.z != z) return 1
if(!isAI(usr) && usr.z != z) return 1
..()
if(stat & BROKEN)
return