Merge https://github.com/Regalis11/Barotrauma into develop
This commit is contained in:
@@ -3077,8 +3077,12 @@ namespace Barotrauma.Networking
|
||||
if (votingInterface != null)
|
||||
{
|
||||
votingInterface.Update(deltaTime);
|
||||
if (!votingInterface.VoteRunning)
|
||||
if (!votingInterface.VoteRunning || votingInterface.TimedOut)
|
||||
{
|
||||
if (votingInterface.TimedOut)
|
||||
{
|
||||
DebugConsole.AddWarning($"Voting interface timed out.");
|
||||
}
|
||||
votingInterface.Remove();
|
||||
votingInterface = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user