Fix aliens constantly resetting their pixel_xy and icon.

This commit is contained in:
Tigercat2000
2015-07-22 05:30:01 -07:00
parent 8cef88659e
commit bbcc19c764

View File

@@ -45,8 +45,8 @@
icon_state = "alien[caste]_leap"
pixel_x = -32
pixel_y = -32
else
icon = initial(icon)
else if(icon == 'icons/mob/alienleap.dmi' && icon_state == "alien[caste]_leap" && pixel_x == -32 && pixel_y == -32)
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_y = initial(pixel_y)