From 3c3e4c7dc8c7e587dada8e6d49c20aa905fdc25e Mon Sep 17 00:00:00 2001 From: ESwordTheCat Date: Sun, 4 May 2014 00:56:51 -0800 Subject: [PATCH] Heh forgot these. --- code/__HELPERS/experimental.dm | 4 +++- code/game/objects/items/stacks/sheets/glass.dm | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/code/__HELPERS/experimental.dm b/code/__HELPERS/experimental.dm index 4c3b037cd48..c4986fecf24 100644 --- a/code/__HELPERS/experimental.dm +++ b/code/__HELPERS/experimental.dm @@ -124,7 +124,9 @@ var/list/masterPool = list() /* * Override this if the object variables needed to reset. * - * Example: see, code\game\objects\structures\grille.dm + * Example: see, code\game\objects\items\stacks\sheets\glass.dm + * @/obj/item/weapon/shard + * @resetVariables() */ /atom/movable proc/resetVariables() diff --git a/code/game/objects/items/stacks/sheets/glass.dm b/code/game/objects/items/stacks/sheets/glass.dm index 35303f69477..1686404378e 100644 --- a/code/game/objects/items/stacks/sheets/glass.dm +++ b/code/game/objects/items/stacks/sheets/glass.dm @@ -235,7 +235,9 @@ */ /obj/item/weapon/shard resetVariables() - ..("pixel_y", "pixel_x", "icon_state") + var/list/exclude = list("pixel_y", "pixel_x", "icon_state") + exclude += args + ..(exclude) /obj/item/weapon/shard/Bump() spawn( 0 )