v1.0.20.1 (summer patch)
This commit is contained in:
@@ -42,7 +42,11 @@ namespace Barotrauma
|
||||
{
|
||||
if (passed)
|
||||
{
|
||||
GameMain.Server?.SwitchSubmarine();
|
||||
if (GameMain.Server != null && !GameMain.Server.TrySwitchSubmarine())
|
||||
{
|
||||
passed = false;
|
||||
State = VoteState.Failed;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user