mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 07:59:01 +01:00
AI Remote Control Fixes (#20198)
Fixes https://github.com/Aurorastation/Aurora.3/issues/13267 Fixes https://github.com/Aurorastation/Aurora.3/issues/16881 Fixes https://github.com/Aurorastation/Aurora.3/issues/14039 Fixes https://github.com/Aurorastation/Aurora.3/issues/14062 Also adds QoL where pressing eject on remote controlled mechs exits remote control. --------- Co-authored-by: Ben10083 <Ben10083@users.noreply.github.com>
This commit is contained in:
@@ -59,3 +59,8 @@ GLOBAL_DATUM_INIT(default_state, /datum/ui_state/default, new)
|
||||
to_chat(src, SPAN_WARNING("Access denied."))
|
||||
|
||||
return min(..(), UI_UPDATE)
|
||||
|
||||
/mob/living/simple_animal/spiderbot/default_can_use_topic(src_object)
|
||||
if(ismech(src_object))
|
||||
return UI_INTERACTIVE
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user