mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-11-22 21:52:46 +00:00
tsc newline fix
This commit is contained in:
parent
c82c65c39f
commit
e109db81e6
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue