Giving crew members an ID card with clearances based on spawnpoint, level collision bugfixes, level exit/enter "shafts", moar entity ID bugfixes

This commit is contained in:
Regalis
2015-07-09 20:33:53 +03:00
parent 2254585dac
commit 257835e609
25 changed files with 279 additions and 204 deletions
+7 -1
View File
@@ -285,6 +285,7 @@ namespace Subsurface.Networking
Rand.SetSyncedSeed(seed);
Submarine selectedMap = Game1.NetLobbyScreen.SelectedMap as Submarine;
//selectedMap.Load();
@@ -315,7 +316,7 @@ namespace Subsurface.Networking
{
connectedClients[i].character = new Character(
connectedClients[i].characterInfo, assignedWayPoints[i], true);
connectedClients[i].character.GiveJobItems();
connectedClients[i].character.GiveJobItems(assignedWayPoints[i]);
}
//todo: fix
@@ -627,6 +628,11 @@ namespace Subsurface.Networking
return preferredClient;
}
public override void Disconnect()
{
Server.Shutdown("");
}
}
class Client