Jump to content

Recommended Posts

Basically, I'm making a small mod, that checks if server is up-to-date from time to time and forces it to shutdown/restart if it's not. The problem is, that mod's OnUpdate function stops being called when dedicated server has no players (it has "pause_when_empty" thingy on) and this is something that kinda ruins the point of my mod.

So my question is: Is there a way to keep calling OnUpdate function (for example), when TheSim is paused?

2 hours ago, Necrossin said:

when TheSim is paused?

No because the simulation is what calls the OnUpdate function.

I had this issue with a different mod which was 'Save On Empty', but had to abandon the mod due to the 'pause_when_empty' setting.

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...