Merge pull request #1616 from tigercat2000/fixaleap

Fix xeno icons getting stuck due to impossible check
This commit is contained in:
Fox-McCloud
2015-08-02 05:27:09 -04:00
@@ -45,7 +45,7 @@
icon_state = "alien[caste]_leap"
pixel_x = -32
pixel_y = -32
else if(icon == 'icons/mob/alienleap.dmi' && icon_state == "alien[caste]_leap" && pixel_x == -32 && pixel_y == -32)
else if(icon == 'icons/mob/alienleap.dmi' && 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)