Refactor on_reagent_change to pass through the change type
This commit is contained in:
committed by
CitadelStationBot
parent
9f7b3a11c3
commit
c43591982a
@@ -53,7 +53,7 @@
|
||||
productivity = P
|
||||
max_items = max_storage
|
||||
|
||||
/obj/machinery/biogenerator/on_reagent_change() //When the reagents change, change the icon as well.
|
||||
/obj/machinery/biogenerator/on_reagent_change(changetype) //When the reagents change, change the icon as well.
|
||||
update_icon()
|
||||
|
||||
/obj/machinery/biogenerator/update_icon()
|
||||
|
||||
Reference in New Issue
Block a user