evandrocoan / MultiModServer

It is a Multi-Mod plugin's configurations for Amx Mod X - https://forums.alliedmods.net/showthread.php?t=273018
GNU General Public License v3.0
19 stars 17 forks source link

Add the nominations from disconnected players #27

Closed evandrocoan closed 7 years ago

evandrocoan commented 8 years ago

Add the nominations from disconnected players

On the line:

  1. https://github.com/evandrocoan/Galileo/blob/deefa0a86bea1270a5a9beac353c4bca7430d56a/scripting/galileo.sma#L3463-L3464

There is the note:

        // Note: It will not add the nominations from disconnected players. TODO, add their
        // nominations when the cvar 'gal_unnominate_disconnected' is disabled.

To fix this problem there, which happens when the cvar gal_unnominate_disconnected is set to 0.

// Specifies if it will be removed the nominated maps by a player when
// this player disconnects.
gal_unnominate_disconnected 0

The line just before says:

        // Add as many nominations as we can [TODO: develop a better method of determining which
        // nominations make the cut; either FIFO or random].

However it seens the method is already FIFO, which is very good. The first to nominate, will be the first to be added to the voting list.