diff --git a/code/modules/reagents/dispenser/cartridge_spawn.dm b/code/modules/reagents/dispenser/cartridge_spawn.dm index ca97145f1317e..4cf5ac8f830d3 100644 --- a/code/modules/reagents/dispenser/cartridge_spawn.dm +++ b/code/modules/reagents/dispenser/cartridge_spawn.dm @@ -1,7 +1,10 @@ -/client/proc/spawn_chemdisp_cartridge(size in list("small", "medium", "large"), reagent in subtypesof(/datum/reagent)) +/client/proc/spawn_chemdisp_cartridge(size in list("small", "medium", "large")) set name = "Spawn Chemical Dispenser Cartridge" set category = "Admin" + var/reagent + reagent = select_subpath(/datum/reagent, /datum/reagent) + var/obj/item/reagent_containers/chem_disp_cartridge/C switch(size) if("small") C = new /obj/item/reagent_containers/chem_disp_cartridge/small(usr.loc)