Campaign mode can't be voted for. The host has to manually create/select the campaign save, so switching to the campaign mode when the host isn't present would cause problems.
This commit is contained in:
@@ -763,6 +763,8 @@ namespace Barotrauma
|
||||
else if (component.Parent == GameMain.NetLobbyScreen.ModeList)
|
||||
{
|
||||
if (!GameMain.Client.Voting.AllowModeVoting) return false;
|
||||
if (!((GameModePreset)userData).Votable) return false;
|
||||
|
||||
voteType = VoteType.Mode;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user