#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();
|
||||
|
||||
world.OrderGenerator.Tick( world );
|
||||
world.Selection.Tick( world );
|
||||
Sync.CheckSyncUnchanged(world, () =>
|
||||
{
|
||||
world.OrderGenerator.Tick(world);
|
||||
world.Selection.Tick(world);
|
||||
});
|
||||
|
||||
world.Tick();
|
||||
worldRenderer.Tick();
|
||||
|
||||
|
||||
@@ -13,13 +13,11 @@ using System.Collections.Generic;
|
||||
using OpenRA.Collections;
|
||||
using OpenRA.Effects;
|
||||
using OpenRA.FileFormats;
|
||||
using OpenRA.Graphics;
|
||||
using OpenRA.Network;
|
||||
using OpenRA.Orders;
|
||||
using OpenRA.Traits;
|
||||
|
||||
using XRandom = OpenRA.Thirdparty.Random;
|
||||
using OpenRA.Widgets;
|
||||
using XRandom = OpenRA.Thirdparty.Random;
|
||||
|
||||
namespace OpenRA
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user