mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-20 18:47:20 +01:00
Fixes invisible in-hand pai sprite if the pai is resting (#19296)
* Update README.md * Works as intended now * did an oopsie somehow
This commit is contained in:
@@ -470,9 +470,10 @@
|
||||
H.icon = 'icons/mob/pai.dmi'
|
||||
H.icon_state = "[chassis]_dead"
|
||||
return
|
||||
if(IS_HORIZONTAL(src))
|
||||
if(resting)
|
||||
icon_state = "[chassis]"
|
||||
stand_up()
|
||||
resting = FALSE
|
||||
REMOVE_TRAIT(src, TRAIT_IMMOBILIZED, LYING_DOWN_TRAIT)
|
||||
if(custom_sprite)
|
||||
H.icon = 'icons/mob/custom_synthetic/custom-synthetic.dmi'
|
||||
H.icon_override = 'icons/mob/custom_synthetic/custom_head.dmi'
|
||||
|
||||
Reference in New Issue
Block a user