EngineOfDarkness / Stalker-Anomaly-Ltx-Loader

A Lua Script based Solution to change Vanilla Stalker Anomaly LTX Files
GNU General Public License v3.0
4 stars 0 forks source link

Fix "Won't work if the game is not launched from the Launcher" #11

Closed EngineOfDarkness closed 3 years ago

EngineOfDarkness commented 3 years ago

Closes #8


I've added the Anomaly Root Folder to package.path so this should not cause any issues in the future (unless upper / lowercase turns out to be a problem on some systems - I hope not)

I've simply used Xrays getFS class to get the current Anomaly root via update_path("$fs_root$", "")