Skip to content

Commit

Permalink
ties examine_more to calling ui_interact
Browse files Browse the repository at this point in the history
  • Loading branch information
zimon9 committed Oct 13, 2024
1 parent 3643e63 commit ee451c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/game/machinery/computer/_computer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,6 @@
. = ..()
if(!user.canUseTopic(src, !issilicon(user)) || !is_operational)
return

/obj/machinery/computer/examine_more(mob/user)
ui_interact(user)
3 changes: 3 additions & 0 deletions code/game/machinery/computer/crew.dm
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ GLOBAL_DATUM_INIT(crewmonitor, /datum/crewmonitor, new)
ui = new(user, src, "CrewConsole")
ui.open()

/obj/machinery/computer/crew/examine_more(mob/user)
interact(user)

/datum/crewmonitor/ui_close(mob/user)
ui_sources -= user
return ..()
Expand Down

0 comments on commit ee451c0

Please sign in to comment.