#313 fixed -- there's unsynced code that runs in Tick, too.
This commit is contained in:
@@ -135,8 +135,12 @@ namespace OpenRA
|
|||||||
|
|
||||||
if( isNetTick ) orderManager.Tick();
|
if( isNetTick ) orderManager.Tick();
|
||||||
|
|
||||||
|
Sync.CheckSyncUnchanged(world, () =>
|
||||||
|
{
|
||||||
world.OrderGenerator.Tick(world);
|
world.OrderGenerator.Tick(world);
|
||||||
world.Selection.Tick(world);
|
world.Selection.Tick(world);
|
||||||
|
});
|
||||||
|
|
||||||
world.Tick();
|
world.Tick();
|
||||||
worldRenderer.Tick();
|
worldRenderer.Tick();
|
||||||
|
|
||||||
|
|||||||
@@ -13,13 +13,11 @@ using System.Collections.Generic;
|
|||||||
using OpenRA.Collections;
|
using OpenRA.Collections;
|
||||||
using OpenRA.Effects;
|
using OpenRA.Effects;
|
||||||
using OpenRA.FileFormats;
|
using OpenRA.FileFormats;
|
||||||
using OpenRA.Graphics;
|
|
||||||
using OpenRA.Network;
|
using OpenRA.Network;
|
||||||
using OpenRA.Orders;
|
using OpenRA.Orders;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
using XRandom = OpenRA.Thirdparty.Random;
|
|
||||||
using OpenRA.Widgets;
|
using OpenRA.Widgets;
|
||||||
|
using XRandom = OpenRA.Thirdparty.Random;
|
||||||
|
|
||||||
namespace OpenRA
|
namespace OpenRA
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user