ReactiveDrop / reactivedrop_public_src

Alien Swarm: Reactive Drop game source code and issue tracker.
https://reactivedrop.com
105 stars 35 forks source link

dont reset leader/kick votes on instant restart, add a instant restar… #709

Closed jhh8 closed 6 months ago

jhh8 commented 6 months ago

…t cooldown

meant to help against lobby leader abusing instant restart

move m_iLeaderVotes and m_iKickVotes from game resource to gamerules

limit cooldown cvar max to 10 in case of some sort of abusive addon trying to set it to a very high value. notify flag for same reason

BenLubar commented 6 months ago

I think we can not have a limit for it and just add it to the list of non-challenge convars like hostname.

jhh8 commented 6 months ago

cant it still be changed with Convars.SetValue or SendToConsole or point_servercommand?

BenLubar commented 6 months ago

probably, but someone had to install the addon for it to do that, and instant restarts at times when you'd normally want to restart aren't rate limited