mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 22:47:59 +01:00
Allow ghosts to access dna modifier console
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user