stackcollision / GardenConquest

A new conquest game mode for Space Engineers
6 stars 7 forks source link

our SessionComponent updates every simulation instead of every 100 #59

Open zrisher opened 9 years ago

zrisher commented 9 years ago

Our session component hooks are updateAfterSimulation, instead of updateAfterSimulation100. They may not need to be updated so frequently. But I also noticed that the session component seems to have only whitelisted the former. The 100 method exists, but just not whitelisted. Why....?

zrisher commented 9 years ago

It looks like Autopilot solves this by counting frames and using a modulus. https://github.com/Rynchodon/Autopilot/blob/master/Autopilot/Scripts/Core.cs

zrisher commented 9 years ago

https://github.com/KeenSoftwareHouse/SpaceEngineers/issues/307