Readded null check.

This commit is contained in:
Zuhayr
2014-12-31 13:47:40 +10:30
parent e0047c5830
commit a5b937c1e8
2 changed files with 18 additions and 7 deletions

View File

@@ -282,7 +282,7 @@ emp_act
forcesay(hit_appends) //forcesay checks stat already
//Melee weapon embedded object code.
if (I && I.damtype == BRUTE && !I.is_robot_module())
if (I && I.damtype == BRUTE && !I.anchored && !I.is_robot_module())
var/damage = I.force
if (armor)
damage /= armor+1