mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user