Science Analysis Fixes (#19562)

Fixes the compound microscope's sprite disappearing when slides are
added, and the centrifuge & spectrophotometer sprites disappearing while
working.
This commit is contained in:
Sparky
2024-06-29 12:11:35 +01:00
committed by GitHub
parent d8d67ebd3a
commit 6bb4265cdf
3 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -195,7 +195,7 @@
to_chat(user, SPAN_NOTICE("\The [src] begins to spin, separating the contents of the samples."))
icon_state = "[initial(icon_state)]_working"
icon_state = "centrifuge_working"
addtimer(CALLBACK(src, PROC_REF(process_samples)), 30 SECONDS)
/obj/machinery/centrifuge/proc/process_samples()
@@ -326,7 +326,7 @@
to_chat(user, SPAN_NOTICE("\The [src] begins to glow, shining light through its sample."))
icon_state = "[initial(icon_state)]_working"
icon_state = "spectrophotometer_working"
addtimer(CALLBACK(src, PROC_REF(process_sample)), 15 SECONDS)
/**
+6
View File
@@ -0,0 +1,6 @@
author: Sparky_hotdog
delete-after: True
changes:
- bugfix: "Fixed compound microscope, centrifuge and spectrophotometer sprites disappearing during use."
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB