Refactor on_reagent_change to pass through the change type
This commit is contained in:
committed by
CitadelStationBot
parent
9f7b3a11c3
commit
c43591982a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user