fixes traps not checking for antimagic (#40382)

* fixes traps not checking for antimagic

🆑
fix: traps check for antimagic
/🆑
should work

* will this blend

* e
This commit is contained in:
Tlaltecuhtli
2018-09-23 04:34:45 +02:00
committed by Joan Lung
parent 7bf0929f37
commit 0bcec2bcb2
+1 -1
View File
@@ -63,7 +63,7 @@
return
if(ismob(AM))
var/mob/M = AM
if(M.mind in immune_minds)
if(M.mind in immune_minds || M.anti_magic_check())
return
if(charges <= 0)
return