Finally fixes the autolathe/protolate lid animations.

* Protolate lid no longer bounces back and forth througout the whole build cycle.
* Autolathe lid no longer closes, snaps open, and then -nothing- until item spawns.
* Instead, the lid closes, stays closed while the item builds, then opens again.
This commit is contained in:
Leshana
2017-02-24 20:57:26 -05:00
parent ada83d45c6
commit 860a994818
4 changed files with 13 additions and 4 deletions

View File

@@ -85,6 +85,8 @@
else if(busy)
icon_state = "protolathe_n"
else
if(icon_state == "protolathe_n")
flick("protolathe_u", src) // If lid WAS closed, show opening animation
icon_state = "protolathe"
/obj/machinery/r_n_d/protolathe/attackby(var/obj/item/O as obj, var/mob/user as mob)