Newer workshop mods use the ugc_mods for their files now but the TheSim.GetFileModificationTime function seems to use just the old directory for searching.
Tested on a Windows and Linux dedicated server.
Steps to Reproduce
Run in your server's console:
Quoteprint(TheSim:GetFileModificationTime("../mods/"..KnownModIndex:GetModsToLoad()[1].."/modmain.lua"))
See that it returns an error even though you have at least one mod to load and that kleiloadlua for example with the exactly same path works just fine.
Quoteprint(kleiloadlua("../mods/"..KnownModIndex:GetModsToLoad()[1].."/modmain.lua"))
Returns a function as it should.
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now