RTV System - Mistake or intentional?
3 years 1 week ago #1290933
I've had it multiple times being on the server recently where a player will join just before another users rocks the vote, then leaves. This will then cause the vote counter to be stuck on 0 and another player will have to rtv to change the map. This is logically incorrect and I want to know if it's intentional or not.
The rtv system grabs how many users are online and then calculates how many votes are needed for an rtv (e.g. 6 users online = 2 votes -> 6:2 ratio)
Scenario #1[ Click to expand ][ Click to hide ]
[RTV] SilentCall has voted to rock the vote! (Another 1 votes needed.)
[ZARP-BHOP]: Zix (-snip-) has joined the game!
[RTV] DikiyRez has voted to rock the vote! (Another 1 votes needed.)
[ZARP-BHOP]: topaZ (-snip-) has left the game!
The rtv counter is now stuck on 0.
Having a hook on PlayerDisconnected to check the logic would fix this. Cheers!