Small updates and moved log location to Log folder

Fixed logger error
This commit is contained in:
Pax1601
2023-12-20 13:58:44 +01:00
parent 2e194d557a
commit 22ad5d5972
11 changed files with 49 additions and 20 deletions

View File

@@ -49,6 +49,9 @@ static int onSimulationStart(lua_State* L)
{
LogInfo(L, "Trying to load core.dll from " + modPath);
SetDllDirectoryA(modPath.c_str());
setLogDirectory(modPath);
log("onSimulationStart callback called successfully");
string dllLocation = modPath + "\\core.dll";