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:
oranges
2017-11-24 12:45:44 +01:00
committed by AnturK
parent 93ceba4b63
commit 73b25d7ef2
18 changed files with 39 additions and 38 deletions
+1 -1
View File
@@ -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