fixes ore growth. yes im noob

This commit is contained in:
Chris Forbes
2009-11-12 11:48:02 +13:00
parent efb200c16c
commit 8325389d9f

View File

@@ -160,8 +160,12 @@ namespace OpenRa.Game
controller.orderGenerator.Tick();
if (--oreTicks == 0)
using( new PerfSample("ore"))
{
using (new PerfSample("ore"))
map.GrowOre(SharedRandom);
oreTicks = oreFrequency;
}
world.Tick();
UnitInfluence.Tick();
foreach (var player in players.Values)