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
@@ -54,7 +54,7 @@
new /obj/item/stock_parts/cell/potato(Tsec)
var/obj/item/reagent_containers/food/drinks/drinkingglass/shotglass/S = new(Tsec)
S.reagents.add_reagent("whiskey", 15)
S.on_reagent_change()
S.on_reagent_change(ADD_REAGENT)
..()
/mob/living/simple_animal/bot/secbot/pingsky