rm new
This commit is contained in:
@@ -154,9 +154,7 @@ function load_from_cloud() {
|
||||
|
||||
var data = steam.cloud.cloud_read("savegame.json");
|
||||
if (data) {
|
||||
// Convert ArrayBuffer to string
|
||||
var decoder = new TextDecoder();
|
||||
var json_str = decoder.decode(data);
|
||||
var json_str = text(data)
|
||||
return JSON.parse(json_str);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user