(afe15e7b2) Fixed server sending campaign saves and campaign character data to clients after the game mode has been switched to something else. Closes #1346

This commit is contained in:
Joonas Rikkonen
2019-03-26 17:10:35 +02:00
parent 6c4649fe3f
commit 237f164123
4 changed files with 20 additions and 12 deletions
@@ -129,7 +129,7 @@ namespace Barotrauma
availableMissions.RemoveAll(m => m.Completed);
}
public void Remove()
private string RandomName(LocationType type)
{
baseName = type.GetRandomName();
nameFormatIndex = Rand.Int(type.NameFormats.Count, Rand.RandSync.Server);