Add viewer_state for TGUI, an observational state (#22860)

* I like to watch

* Wires are secondary
This commit is contained in:
Vi3trice
2023-10-13 14:29:53 +01:00
committed by GitHub
parent 3df93abfa4
commit 3e757a900b
3 changed files with 15 additions and 1 deletions
+4 -1
View File
@@ -334,7 +334,10 @@ GLOBAL_VAR(bomb_set)
update_icon(UPDATE_OVERLAYS)
/obj/machinery/nuclearbomb/attack_ghost(mob/user as mob)
attack_hand(user)
if(!panel_open)
return ui_interact(user, state = GLOB.viewer_state)
if(removal_stage != NUKE_CORE_FULLY_EXPOSED || !core)
return wires.Interact(user)
/obj/machinery/nuclearbomb/attack_hand(mob/user as mob)
if(!panel_open)