mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 09:08:30 +01:00
Refactor on_reagent_change to pass through the change type (#32805)
this is purely so the smoke circuit can reset the notification only when reagents are actually added to it
This commit is contained in:
@@ -407,7 +407,7 @@ MASS SPECTROMETER
|
||||
..()
|
||||
create_reagents(5)
|
||||
|
||||
/obj/item/device/mass_spectrometer/on_reagent_change()
|
||||
/obj/item/device/mass_spectrometer/on_reagent_change(changetype)
|
||||
if(reagents.total_volume)
|
||||
icon_state = initial(icon_state) + "_s"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user