Merge pull request #34140 from kevinz000/quickfix-1

Fixes armor penetration not working on objects and therefore mechs
This commit is contained in:
Leo
2018-01-07 15:02:30 -02:00
committed by GitHub
2 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -391,7 +391,7 @@
yo = targloc.y - curloc.y
xo = targloc.x - curloc.x
setAngle(Get_Angle(src, targloc))
if(isliving(source) && params)
var/list/calculated = calculate_projectile_angle_and_pixel_offsets(source, params)
p_x = calculated[2]