A bunch of fixes to syncing clients who join mid-round:
- syncing items spawned/removed mid-round - syncing characters spawned mid-round (through the console or by respawning) - making sure that item IDs of the spawned characters match - syncing wall damage
This commit is contained in:
@@ -261,7 +261,11 @@ namespace Barotrauma
|
||||
spawnedCharacter = Character.Create("Content/Characters/" + commands[1] + "/" + commands[1] + ".xml", spawnPosition);
|
||||
}
|
||||
|
||||
if (spawnedCharacter != null && GameMain.Server != null) GameMain.Server.SendCharacterSpawnMessage(spawnedCharacter);
|
||||
if (spawnedCharacter != null && GameMain.Server != null)
|
||||
{
|
||||
spawnedCharacter.SpawnedMidRound = true;
|
||||
GameMain.Server.SendCharacterSpawnMessage(spawnedCharacter);
|
||||
}
|
||||
|
||||
break;
|
||||
case "disablecrewai":
|
||||
|
||||
Reference in New Issue
Block a user