Silenci0 / UMC

Ultimate Map Chooser plugin
Other
43 stars 16 forks source link

Negative value when "rtv" #18

Open eisgottin opened 4 years ago

eisgottin commented 4 years ago

Hello silenci0.

If set sm_umc_rtv_enteradminflags_bonusamt, for example 3, and there will be 0-1-2 players on the server, UMC will show a negative value of required votes:

[UMC] Natasha_Heide wants to Rock the Vote. Type 'rtv' to join, or type 'nominate' to nominate a map. (-2 more required)

// The amount of entrance votes to be given to players who have at least one of the admin flags specified by "sm_umc_rtv_enteradminflags_bonusflags".
"sm_umc_rtv_enteradminflags_bonusflags".
// -
// Default: ""
sm_umc_rtv_enteradminflags_bonusamt "3"
Silenci0 commented 4 years ago

Sorry for the late response, I'll take a look at this.

I'm curious though, does it only seems to happen when the servers have fewer players or is this happening regardless of server population?

eisgottin commented 4 years ago

Only when there are few players on the server (less than the weight of the admin vote)