From 379e34217c87d9a0a4e193daa98b5a367692e6f5 Mon Sep 17 00:00:00 2001 From: CHOMPStation2 <58959929+CHOMPStation2@users.noreply.github.com> Date: Fri, 2 Feb 2024 11:16:19 -0700 Subject: [PATCH] [MIRROR] dismantle takes optional var (#7677) Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: CHOMPStation2 --- code/modules/materials/materials/_materials.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/materials/materials/_materials.dm b/code/modules/materials/materials/_materials.dm index 4c5bf68af3..853c9e90ea 100644 --- a/code/modules/materials/materials/_materials.dm +++ b/code/modules/materials/materials/_materials.dm @@ -321,8 +321,8 @@ var/list/name_to_material // General wall debris product placement. // Not particularly necessary aside from snowflakey cult girders. -/datum/material/proc/place_dismantled_product(var/turf/target) - place_sheet(target, 1) +/datum/material/proc/place_dismantled_product(var/turf/target, var/amount = 1) + place_sheet(target, amount) // Debris product. Used ALL THE TIME. /datum/material/proc/place_sheet(var/turf/target, amount)