Merge pull request #1839 from CHOMPStationBot/upstream-merge-10186

[MIRROR] [MIRROR] Lying on the ground can be left or right
This commit is contained in:
Razgriz
2021-04-21 21:57:37 -07:00
committed by GitHub
@@ -147,7 +147,11 @@ var/global/list/damage_icon_parts = list() //see UpdateDamageIcon()
anim_time = 1 //Thud
if(lying && !species.prone_icon) //Only rotate them if we're not drawing a specific icon for being prone.
M.Turn(90)
var/randn = rand(1, 2)
if(randn <= 1) // randomly choose a rotation
M.Turn(-90)
else
M.Turn(90)
M.Scale(desired_scale_y, desired_scale_x)//VOREStation Edit
if(species.icon_height == 64)//VOREStation Edit
M.Translate(13,-22)