From 011bca9a3e86a511b60f63f1b2020b816ed092fc Mon Sep 17 00:00:00 2001 From: bgobandit Date: Wed, 8 Jun 2016 23:34:27 -0400 Subject: [PATCH] Interrupted drawings will not affect the text buffer. --- code/game/objects/items/crayons.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/game/objects/items/crayons.dm b/code/game/objects/items/crayons.dm index 11cf4f72cba..0937affaa58 100644 --- a/code/game/objects/items/crayons.dm +++ b/code/game/objects/items/crayons.dm @@ -300,7 +300,6 @@ if(length(text_buffer)) drawing = copytext(text_buffer,1,2) - text_buffer = copytext(text_buffer,2) if(actually_paints) if(gang_mode) @@ -315,6 +314,9 @@ user << "You finish \ [instant ? "spraying" : "drawing"] \the [temp]." + if(length(text_buffer)) + text_buffer = copytext(text_buffer,2) + if(post_noise) audible_message("You hear spraying.") playsound(user.loc, 'sound/effects/spray.ogg', 5, 1, 5)