Better msg in console on reading save data

main
parent 2c718d4de1
commit f2a8a1dcef

@ -367,6 +367,8 @@ function load_all() {
console.log("Reading full game"); console.log("Reading full game");
let decoded = decode(read_data); let decoded = decode(read_data);
Module.ccall('read_from_save_data', 'void', ['array', 'number'], [new Uint8Array(decoded), decoded.byteLength]); Module.ccall('read_from_save_data', 'void', ['array', 'number'], [new Uint8Array(decoded), decoded.byteLength]);
} else {
console.log("Couldn't find full game");
} }
} }
} }

Loading…
Cancel
Save