Merge pull request #10186 from VOREStation/upstream-merge-8038

[MIRROR] Lying on the ground can be left or right
This commit is contained in:
Novacat
2021-04-21 06:48:13 +00:00
committed by Chompstation Bot
parent 4b4d522565
commit 40535241c9
@@ -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)