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:
shadowlord13
2008-05-31 18:25:59 +00:00
parent 32f1af1fc7
commit bbe4fcca82
7 changed files with 1233 additions and 1197 deletions
+5 -2
View File
@@ -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)