use relative tick time intervals
This commit is contained in:
@@ -179,7 +179,7 @@ namespace OpenRA
|
||||
if (worldTimestep != 0 && worldTickDelta >= worldTimestep)
|
||||
using (new PerfSample("tick_time"))
|
||||
{
|
||||
orderManager.LastTickTime += worldTimestep;
|
||||
orderManager.LastTickTime += (worldTickDelta / worldTimestep) * worldTimestep;
|
||||
|
||||
if (orderManager.GameStarted)
|
||||
++Viewport.TicksSinceLastMove;
|
||||
|
||||
Reference in New Issue
Block a user