From e4cf55ba36472990b04d56b11ffea967892ce7e8 Mon Sep 17 00:00:00 2001 From: tonty <39193182+tontyGH@users.noreply.github.com> Date: Tue, 14 May 2024 01:34:15 -0400 Subject: [PATCH] [BUGFIX] FTL Navigation Console is no longer able to be used everywhere (#2643) --- nsv13/code/modules/overmap/starmap.dm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/nsv13/code/modules/overmap/starmap.dm b/nsv13/code/modules/overmap/starmap.dm index 3ab21b31672..154f7ab7fe0 100644 --- a/nsv13/code/modules/overmap/starmap.dm +++ b/nsv13/code/modules/overmap/starmap.dm @@ -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." @@ -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