GameMode/CrewManager bugfixes, fabricators
This commit is contained in:
@@ -240,8 +240,8 @@ namespace Subsurface.Networking
|
||||
TimeSpan duration = new TimeSpan(0,(int)durationMinutes,0);
|
||||
|
||||
//int gameModeIndex = inc.ReadInt32();
|
||||
Game1.GameSession = new GameSession(Map.Loaded, duration);
|
||||
Game1.GameSession.StartShift(1);
|
||||
Game1.GameSession = new GameSession(Map.Loaded);
|
||||
Game1.GameSession.StartShift(duration, 1);
|
||||
|
||||
myCharacter = ReadCharacterData(inc);
|
||||
Character.Controlled = myCharacter;
|
||||
|
||||
@@ -9,7 +9,6 @@ namespace Subsurface.Networking
|
||||
{
|
||||
class GameServer : NetworkMember
|
||||
{
|
||||
|
||||
// Server object
|
||||
NetServer Server;
|
||||
// Configuration object
|
||||
@@ -275,8 +274,8 @@ namespace Subsurface.Networking
|
||||
|
||||
//selectedMap.Load();
|
||||
|
||||
Game1.GameSession = new GameSession(selectedMap, Game1.NetLobbyScreen.GameDuration, Game1.NetLobbyScreen.SelectedMode);
|
||||
Game1.GameSession.StartShift(1);
|
||||
Game1.GameSession = new GameSession(selectedMap, Game1.NetLobbyScreen.SelectedMode);
|
||||
Game1.GameSession.StartShift(Game1.NetLobbyScreen.GameDuration, 1);
|
||||
//EventManager.SelectEvent(Game1.netLobbyScreen.SelectedEvent);
|
||||
|
||||
foreach (Client client in connectedClients)
|
||||
|
||||
Reference in New Issue
Block a user