From 6c4d2d07808fc717ab52e870beb5c5d4ec5eb5b9 Mon Sep 17 00:00:00 2001 From: Jack Edge Date: Tue, 31 Jan 2017 00:01:16 +0000 Subject: [PATCH] Fixes a bug with soapstone refunding name changing --- code/modules/library/soapstone.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/library/soapstone.dm b/code/modules/library/soapstone.dm index ccec533563d..031fa08fa01 100644 --- a/code/modules/library/soapstone.dm +++ b/code/modules/library/soapstone.dm @@ -21,6 +21,7 @@ /obj/item/soapstone/proc/random_name() name = pick("soapstone", "chisel", "chalk", "magic marker") + non_dull_name = name if(name == "chalk" || name == "magic marker") desc = replacetext(desc, "engraving", "scribbling") w_engrave = "scribble" @@ -121,7 +122,7 @@ /obj/item/soapstone/proc/refund_use() if(remaining_uses == -1) return - var/was_dull = remaining_uses + var/was_dull = !remaining_uses remaining_uses++ if(was_dull)