fixes ore growth. yes im noob
This commit is contained in:
@@ -160,8 +160,12 @@ namespace OpenRa.Game
|
|||||||
controller.orderGenerator.Tick();
|
controller.orderGenerator.Tick();
|
||||||
|
|
||||||
if (--oreTicks == 0)
|
if (--oreTicks == 0)
|
||||||
|
{
|
||||||
using (new PerfSample("ore"))
|
using (new PerfSample("ore"))
|
||||||
map.GrowOre(SharedRandom);
|
map.GrowOre(SharedRandom);
|
||||||
|
oreTicks = oreFrequency;
|
||||||
|
}
|
||||||
|
|
||||||
world.Tick();
|
world.Tick();
|
||||||
UnitInfluence.Tick();
|
UnitInfluence.Tick();
|
||||||
foreach (var player in players.Values)
|
foreach (var player in players.Values)
|
||||||
|
|||||||
Reference in New Issue
Block a user