mirror of
https://github.com/cybergirlvannie/OpenSS13.git
synced 2026-07-13 00:32:49 +01:00
Fixes for:
Air tank dialog not updating to show 'restore gas flow' when clicking 'stop gas flow' Being able to knock out, stun, paralyze, etc, the AI Timers/igniters not igniting when the timer completed: screwdrivering the timer/igniter assembly was not setting status on the igniter. (prox/igniters and remote/igniters did set it)
This commit is contained in:
@@ -613,9 +613,12 @@
|
||||
src.loc = S.loc
|
||||
return
|
||||
|
||||
/proc/AutoUpdateAI(obj/subject)
|
||||
/proc/AutoUpdateAI(obj/subject, isSelf)
|
||||
if (subject!=null)
|
||||
for(var/mob/ai/M in world)
|
||||
if ((M.client && M.machine == subject))
|
||||
subject.attack_ai(M)
|
||||
if (isSelf==0)
|
||||
subject.attack_ai(M)
|
||||
else
|
||||
subject:attack_self(M)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user