Allow ghosts to access dna modifier console

This commit is contained in:
Markolie
2015-07-28 01:38:37 +02:00
parent b9c2f52471
commit aad62fcec1
+8 -3
View File
@@ -421,7 +421,13 @@
if(!isnull(connected))
attack_hand(user)
break
else if(!..())
else
if(..(user))
return
if(stat & (NOPOWER|BROKEN))
return
ui_interact(user)
/**
@@ -436,8 +442,7 @@
* @return nothing
*/
/obj/machinery/computer/scan_consolenew/ui_interact(mob/user, ui_key = "main", var/datum/nanoui/ui = null, var/force_open = 1)
if(user == connected.occupant || user.stat)
if(user == connected.occupant)
return
// this is the data which will be sent to the ui