1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-26 23:33:01 +00:00

tsc newline fix

This commit is contained in:
Alula 2022-02-12 09:18:32 +01:00
parent c82c65c39f
commit e109db81e6
No known key found for this signature in database
GPG key ID: 3E00485503A1D8BA

View file

@ -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);