Merge pull request #18399 from bgobandit/stopfuckingbumpingmeyoufuckshit

Interrupted drawings will not affect the text buffer.
This commit is contained in:
oranges
2016-06-10 15:58:53 +12:00
committed by GitHub
+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)