External Android saves (contains SAYGEX)

This commit is contained in:
OleSTEEP 2024-01-06 06:11:27 +03:00
parent 712bda02f4
commit 2d95a8cf81
5 changed files with 73 additions and 47 deletions

View file

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