Merge pull request #12148 from pchote/fix-wall-glitch

Prevent TickRender from running before the world's first Tick.
This commit is contained in:
abcdefg30
2016-10-22 19:55:11 +02:00
committed by GitHub

View File

@@ -566,7 +566,9 @@ namespace OpenRA
else
PerfHistory.Tick();
Sync.CheckSyncUnchanged(world, () => world.TickRender(worldRenderer));
// Wait until we have done our first world Tick before TickRendering
if (orderManager.LocalFrameNumber > 0)
Sync.CheckSyncUnchanged(world, () => world.TickRender(worldRenderer));
}
}
}