Public Navigation Consoles can be used without skills (#22317)

Makes Navigation Consoles (the ones scattered around the public spaces
of the Horizon that only let you view the nearby starmap) able to be
viewed again without having piloting skills.
This commit is contained in:
Batrachophreno
2026-04-23 00:35:01 +00:00
committed by GitHub
parent 3d5f69f548
commit 11178f04a4
2 changed files with 13 additions and 0 deletions
@@ -338,6 +338,15 @@
can_pass_under = FALSE
light_power_on = 1
/obj/machinery/computer/ship/navigation/attack_hand(mob/user)
if(use_check_and_message(user))
return
if(!emagged && !allowed(user))
to_chat(user, SPAN_WARNING("Access denied."))
return FALSE
user.set_machine(src)
ui_interact(user)
/obj/machinery/computer/ship/navigation/ui_interact(mob/user, datum/tgui/ui)
ui = SStgui.try_update_ui(user, src, ui)
if(!ui)