Necrossin Posted February 16, 2016 Share Posted February 16, 2016 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? Link to comment https://forums.kleientertainment.com/forums/topic/64429-updating-components-when-dedicated-server-is-paused/ Share on other sites More sharing options...
Kzisor Posted February 16, 2016 Share Posted February 16, 2016 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. Link to comment https://forums.kleientertainment.com/forums/topic/64429-updating-components-when-dedicated-server-is-paused/#findComment-723395 Share on other sites More sharing options...
Recommended Posts
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