This plugin doesn't change the mod, it just starts the vote. It might be that there needs to be additional checks moved into the new function to make sure it accounts for some of the other conditions that are taken care of sooner in the original RTV function. Maybe something like:
Code:
check_rock_the_vote()
{
if( g_rockedVoteCnt >= get_RocksNeeded() && !(get_timeleft() < 120) && get_pcvar_num(cvar_rtv_enabled) && ~g_hasbeenrocked ) // Decide if we rock the vote
I wonder if it might also need something to prevent it from running toward the beginning of the map. I haven't really had time to test these so I can't guarantee that it won't have bugs.
__________________