Restart votes now default to no.
This commit is contained in:
@@ -61,6 +61,15 @@ namespace Content.Server.Voting.Managers
|
|||||||
// Cast yes vote if created the vote yourself.
|
// Cast yes vote if created the vote yourself.
|
||||||
vote.CastVote(initiator, 0);
|
vote.CastVote(initiator, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach (var player in _playerManager.GetAllPlayers())
|
||||||
|
{
|
||||||
|
if (player != initiator)
|
||||||
|
{
|
||||||
|
// Everybody else defaults to a no vote.
|
||||||
|
vote.CastVote(player, 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void CreatePresetVote(IPlayerSession? initiator)
|
public void CreatePresetVote(IPlayerSession? initiator)
|
||||||
|
|||||||
4
Resources/Changelog/Parts/restart_vote_change.yml
Normal file
4
Resources/Changelog/Parts/restart_vote_change.yml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
author: PJB
|
||||||
|
changes:
|
||||||
|
- type: Tweak
|
||||||
|
message: Restart round votes now start with everybody selecting "no", effectively requiring 80% of the whole server to agree.
|
||||||
Reference in New Issue
Block a user