diff --git a/src/scripting/tsc/compiler.rs b/src/scripting/tsc/compiler.rs index 8d8f180..f6a7e39 100644 --- a/src/scripting/tsc/compiler.rs +++ b/src/scripting/tsc/compiler.rs @@ -90,13 +90,6 @@ impl TextScript { } b'<' => { allow_next_event = false; - if char_buf.len() > 2 { - if let Some(&c) = char_buf.last() { - if c == b'\n' { - let _ = char_buf.pop(); - } - } - } if !char_buf.is_empty() { put_varint(TSCOpCode::_STR as i32, &mut bytecode);