server can now direct lag

This commit is contained in:
Chris Forbes
2009-12-02 19:40:50 +13:00
parent 074ab5675e
commit 2553a1cdb2
3 changed files with 35 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ namespace OpenRa.Game
List<OrderSource> sources;
int frameNumber = 0;
const int FramesAhead = 3;
public int FramesAhead = 3;
public bool GameStarted { get { return frameNumber != 0; } }
public bool IsNetplay { get { return sources.OfType<NetworkOrderSource>().Any(); } }