Fix fallback preset DisallowLateJoin not being taken into account

This commit is contained in:
Víctor Aguilera Puerto
2020-08-20 18:18:42 +02:00
parent 9e7d698145
commit 3203fdfb7f

View File

@@ -300,6 +300,9 @@ namespace Content.Server.GameTicking
{
throw new ApplicationException("Fallback preset failed to start!");
}
DisallowLateJoin = false;
DisallowLateJoin |= newPreset.DisallowLateJoin;
}
_roundStartTimeSpan = IoCManager.Resolve<IGameTiming>().RealTime;