mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Disabled AI being able to open doors when its wireless is disabled (#15702)
* Fixing being able to remotely open doors when AI is in a intellicard and has his wireless disabled. * Fixing being able to remotely open doors when AI is in a intellicard and has his wireless disabled. * Update ai.dm
This commit is contained in:
@@ -1319,6 +1319,9 @@ GLOBAL_LIST_INIT(ai_verbs_default, list(
|
||||
/mob/living/silicon/ai/proc/open_nearest_door(mob/living/target)
|
||||
if(!istype(target))
|
||||
return
|
||||
|
||||
if(check_unable(AI_CHECK_WIRELESS))
|
||||
return
|
||||
|
||||
if(target && target.can_track())
|
||||
var/obj/machinery/door/airlock/A = null
|
||||
|
||||
Reference in New Issue
Block a user