Merge pull request #4692 from Citadel-Station-13/upstream-merge-34140
[MIRROR] Fixes armor penetration not working on objects and therefore mechs
This commit is contained in:
@@ -362,6 +362,7 @@
|
||||
if(targloc || !params)
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user