don't pass world to Widget.Tick, either

This commit is contained in:
Bob
2010-10-11 20:21:15 +13:00
parent e0afc08e5f
commit 0873741983
9 changed files with 16 additions and 17 deletions

View File

@@ -97,14 +97,14 @@ namespace OpenRA.Widgets
int blinkCycle = 10;
bool showCursor = true;
public override void Tick(World world)
public override void Tick()
{
if (--blinkCycle <= 0)
{
blinkCycle = 20;
showCursor ^= true;
}
base.Tick(world);
base.Tick();
}
public override void DrawInner()