mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 15:17:36 +00:00
Clean up reader.string
This commit is contained in:
parent
6189d2fa62
commit
fc5975bf0c
12 changed files with 58 additions and 61 deletions
|
|
@ -89,7 +89,7 @@ class Unreal2 extends Core {
|
|||
let length = reader.uint(1);
|
||||
let out;
|
||||
if(length < 0x80) {
|
||||
//out = reader.string({length:length});
|
||||
//out = reader.string(length);
|
||||
out = '';
|
||||
if(length > 0) out = reader.string();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue