mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 21:19:00 +01:00
Fixes AI able to jump to saved locations while in a mech (#29668)
This commit is contained in:
@@ -50,6 +50,10 @@
|
||||
. = ..()
|
||||
var/mob/living/silicon/ai/AI = C.mob
|
||||
|
||||
if(ismecha(AI.loc))
|
||||
to_chat(AI, "<span class='warning'>You can't change camera locations while in a mech!</span>")
|
||||
return
|
||||
|
||||
if(AI.stored_locations[location_number] == "unset")
|
||||
to_chat(AI, "<span class='warning'>You haven't set location [location_number] yet!</span>")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user