Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with Real Time throwing errors only when I don't test it via lua sandbox... #29

Open
StoneLegion opened this issue Feb 9, 2020 · 1 comment

Comments

@StoneLegion
Copy link

StoneLegion commented Feb 9, 2020

Pretty much if I throw say os.date(nil,realtime.time()) into a lua file and have the file start up on server boot it will crash even if I run the file a 2nd time..
If I type lua and then os.date(nil,realtime.time()) it works fine then if I go back and launch the program it works fine too.

Not sure why it's a bit odd haha.

error:
u5KO60i

@XeonSquared
Copy link
Member

Sorry for the delay, didn't get a notification. Do you have some code that it breaks with?

The obvious one is that you need to "require" the realtime library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants