mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
Fix RCF going invisible when busy (#5722)
## About The Pull Request Wrong icon state name, and removed two redundant `icon_state =` statements (it's handled in parent call) ## Why It's Good For The Game Fixes #5614 ## Proof Of Testing I built one and queued an item and it switched to the "in progress" sprite and then back to normal when it finished ## Changelog 🆑 fix: fixed RCF going invisible during construction process /🆑
This commit is contained in:
@@ -6,9 +6,8 @@
|
||||
icon = 'modular_skyrat/modules/colony_fabricator/icons/machines.dmi'
|
||||
icon_state = "colony_lathe"
|
||||
base_icon_state = "colony_lathe"
|
||||
production_animation = null
|
||||
circuit = null
|
||||
production_animation = "colony_lathe_n"
|
||||
production_animation = "colony_lathe_working"
|
||||
light_color = LIGHT_COLOR_BRIGHT_YELLOW
|
||||
light_power = 5
|
||||
allowed_buildtypes = COLONY_FABRICATOR
|
||||
@@ -47,14 +46,12 @@
|
||||
if (. && action == "build")
|
||||
soundloop.start()
|
||||
set_light(l_range = 1.5)
|
||||
icon_state = "colony_lathe_working"
|
||||
update_appearance()
|
||||
|
||||
/obj/machinery/rnd/production/colony_lathe/finalize_build()
|
||||
. = ..()
|
||||
soundloop.stop()
|
||||
set_light(l_range = 0)
|
||||
icon_state = base_icon_state
|
||||
update_appearance()
|
||||
flick("colony_lathe_finish_print", src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user