mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 13:37:58 +01:00
Fix aliens constantly resetting their pixel_xy and icon.
This commit is contained in:
@@ -45,8 +45,8 @@
|
|||||||
icon_state = "alien[caste]_leap"
|
icon_state = "alien[caste]_leap"
|
||||||
pixel_x = -32
|
pixel_x = -32
|
||||||
pixel_y = -32
|
pixel_y = -32
|
||||||
else
|
else if(icon == 'icons/mob/alienleap.dmi' && icon_state == "alien[caste]_leap" && pixel_x == -32 && pixel_y == -32)
|
||||||
icon = initial(icon)
|
icon = initial(icon)// ^ this looks odd, but in theory it will prevent the icon and pixel_xy from being reset unless it needs to be
|
||||||
pixel_x = initial(pixel_x)
|
pixel_x = initial(pixel_x)
|
||||||
pixel_y = initial(pixel_y)
|
pixel_y = initial(pixel_y)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user