External Android saves (contains SAYGEX)
This commit is contained in:
parent
712bda02f4
commit
2d95a8cf81
5 changed files with 73 additions and 47 deletions
|
@ -2989,7 +2989,7 @@ Gamefall.Encryption = Gamefall.Encryption || {};
|
|||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
var base = path.dirname(process.mainModule.filename);
|
||||
let mapName = require("fs").cachedAlternativeName(`/maps/map${mapId}.json`);
|
||||
let mapName = require("fs").cachedAlternativeName(`maps/map${mapId}.json`);
|
||||
this.unloadTiledMapData();
|
||||
fs.readFile(base + mapName, (err, buffer) => {
|
||||
if (!!err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue