Skip to content

Commit

Permalink
Merge pull request #8038 from Novacat/nova-accessory
Browse files Browse the repository at this point in the history
Lying on the ground can be left or right
  • Loading branch information
Atermonera committed Apr 21, 2021
2 parents bcd527b + e40183e commit 6fcca25
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion code/modules/mob/living/carbon/human/update_icons.dm
Expand Up @@ -136,7 +136,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_x, desired_scale_y)
M.Translate(1,-6)
layer = MOB_LAYER -0.01 // Fix for a byond bug where turf entry order no longer matters
Expand Down

0 comments on commit 6fcca25

Please sign in to comment.