public Game(GameRule rule, Map map, int botcount,bool spectate) { Host = null; Demo = null; Spectate = spectate; Server = new GameServer(rule, map, botcount); PreCache(); }
public Game(string host, string demo, bool spectate, bool local) { Host = host; Demo = demo; Spectate = spectate; if (demo != null && demo != "") Spectate = true; if (local) Server = new GameServer(); PreCache(); }