Remove World.FrameNumber.

This commit is contained in:
Paul Chote
2014-03-12 17:19:29 +13:00
parent a7d6f717c4
commit 20b88fd904
13 changed files with 22 additions and 24 deletions

View File

@@ -73,9 +73,9 @@ namespace OpenRA.Mods.RA
public void Tick(Actor self)
{
if (self.World.FrameNumber % 1500 == 1)
if (self.World.WorldTick % 1500 == 1)
UpdateEarnedThisMinute();
if (self.World.FrameNumber % 250 == 0)
if (self.World.WorldTick % 250 == 0)
UpdateMapControl();
}