public void StartGame(int id, int team, double duration, Vector3 mapPos, Vector3 mapSize, string mapName, Vector3 startPos, ExpandoObject gunSpawns) { GetScreenActiveResolution(ref ScreenWidth, ref ScreenHeight); if (voteMenu != null) { voteMenu.Close(); } voteMenu = null; Map map = new Map(mapPos, mapSize, mapName); Salty.StartGame(id, team, duration, map, startPos, ExpandoToDictionary(gunSpawns)); }