Added read from lfs

This commit is contained in:
Pax1601
2023-12-01 17:44:03 +01:00
parent 775148cec8
commit 93ca0e3f22
4 changed files with 50 additions and 1 deletions

View File

@@ -1345,3 +1345,9 @@ Olympus.initializeUnits()
Olympus.notify("OlympusCommand script " .. version .. " loaded successfully", 2, true)
-- Load the current instance folder
local lfs = require('lfs')
Olympus.instancePath = lfs.writedir().."Mods\\Services\\Olympus"
Olympus.OlympusDLL.setInstancePath()