Skip to content

Voting will no longer end when traversing through maps and portals when in a hub (addresses 711).

Ru5tK1ng requested to merge topic/default/hub-voting into branch/default

Currently when people call a vote while they are in a hub, the vote can be cancelled by walking through a portal to change the map. In public games this prevents the group from voting and keeps the game locked in a standstill. I resolved this by instructing the server to not clear the votes after a hub map change so that the ticker still keeps going. When clients are spawned into the new map they also don't clear the votes on their own in order to keep their ticker in sync with the servers. If a MAP command is used, the voting will be cleared from the clients as normally expected when using something like 'map map01'. For non-hub maps and games, the voting behavior is unchanged. I chose this route to avoid having to sync up all the voting variables, counters and states to the clients each time someone walks through the portal in the middle of the vote.

Merge request reports

Loading