Jump to content

TheSim:GetFileModificationTime Returns Error On Linux Systems


Philip.
  • Pending

The method TheSim.GetFileModificationTime used in the modimport function in main.lua returns the following error on Linux systems:

Quote

nil cannot obtain information from file 'mainfunctions.lua': No such file or directory

On Windows calling:

Quote

print(TheSim:GetFileModificationTime("scripts/mainfunctions.lua"))

Returns 000000006390d04c which is correct.


Steps to Reproduce

Run:

print(TheSim:GetFileModificationTime("scripts/mainfunctions.lua"))
On both, Windows and Linux, and see that the result differs even though it should be the same.




User Feedback


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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...