Skip to content

Commit

Permalink
[BUGFIX] FTL Navigation Console is no longer able to be used everywhe…
Browse files Browse the repository at this point in the history
…re (#2643)
  • Loading branch information
tontyGH authored May 14, 2024
1 parent 14a7a69 commit e4cf55b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions nsv13/code/modules/overmap/starmap.dm
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
return TRUE
return ..()

/obj/machinery/computer/ship/navigation/ui_state(mob/user)
return GLOB.always_state

/obj/machinery/computer/ship/navigation/public
name = "Starmap Console"
desc = "A computer which shows the current position of the ship in the universe."
Expand All @@ -51,8 +48,8 @@
ui.set_autoupdate(TRUE)

/obj/machinery/computer/ship/navigation/ui_act(action, params, datum/tgui/ui)
.=..()
if(isobserver(usr) && !IsAdminGhost(usr))
. = ..()
if(. && !IsAdminGhost(usr))
return
if(!linked)
return
Expand Down

0 comments on commit e4cf55b

Please sign in to comment.