Closed hellow554 closed 7 years ago
Mostly you can blame overkill for not implementing that function.
Checking BLT.PlatformName
would be the easiest way if you want to nil it out, though I believe RomanHargrave is working on adding that.
This is the best way of doing it https://github.com/JamesWilko/Payday-2-BLT-Lua/issues/52#issuecomment-327919680
Mod images will no longer be created if DB.create_entry does not exist. https://github.com/JamesWilko/Payday-2-BLT-Lua/commit/54fd0a0f1e097a63c6a9defe106c60af0d38c013
See for this: https://github.com/blt4linux/blt4l/issues/70
The thing is, that you use it in the BLTMod.lua file. Can we use a current workaround like this one to check if we are under a linux environment and just
return nil
in that function? Other mods, depending onDB:create_entry
just not work by now iirc. But for now, it would be a nice to have function, so you could use the same mods folder structure for windows and linux.