Interrupted drawings will not affect the text buffer.

This commit is contained in:
bgobandit
2016-06-08 23:34:27 -04:00
parent 873ddee1c3
commit 011bca9a3e
+3 -1
View File
@@ -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 << "<span class='notice'>You finish \
[instant ? "spraying" : "drawing"] \the [temp].</span>"
if(length(text_buffer))
text_buffer = copytext(text_buffer,2)
if(post_noise)
audible_message("<span class='notice'>You hear spraying.</span>")
playsound(user.loc, 'sound/effects/spray.ogg', 5, 1, 5)