From e2edf6d6d8d956eca3115d053d9e806c5f9fe3da Mon Sep 17 00:00:00 2001 From: Juju Adams Date: Tue, 13 Dec 2022 21:56:02 +0000 Subject: [PATCH] Fixes use of // inside an action being interpreted as a comment --- scripts/__ChatterboxSplitBody/__ChatterboxSplitBody.gml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/__ChatterboxSplitBody/__ChatterboxSplitBody.gml b/scripts/__ChatterboxSplitBody/__ChatterboxSplitBody.gml index 69f733f7..cbdd03b6 100644 --- a/scripts/__ChatterboxSplitBody/__ChatterboxSplitBody.gml +++ b/scripts/__ChatterboxSplitBody/__ChatterboxSplitBody.gml @@ -191,7 +191,7 @@ function __ChatterboxSplitBody(_source_buffer, _source_buffer_start, _source_buf _string_start = buffer_tell(_buffer); _string_end = _string_start-1; } - else if ((_byte == ord("/")) && (buffer_peek(_buffer, buffer_tell(_buffer), buffer_u8) == ord("/"))) // // + else if (!_in_action && (_byte == ord("/")) && (buffer_peek(_buffer, buffer_tell(_buffer), buffer_u8) == ord("/"))) // // { if (__CHATTERBOX_DEBUG_SPLITTER) __ChatterboxTrace("Found start of comment");