Adjustment according to PsiOmegaDelta's suggestion

This commit is contained in:
Atlantis
2015-10-16 14:44:01 +02:00
parent c3e1611178
commit cbcddcad53

View File

@@ -625,7 +625,7 @@
qdel(W)
stat &= ~BROKEN
// Malf AI, removes the APC from AI's hacked APCs list.
if(hacker && hacker.hacked_apcs && src in hacker.hacked_apcs)
if(hacker && hacker.hacked_apcs && (src in hacker.hacked_apcs))
hacker.hacked_apcs -= src
hacker = null
if (opened==2)