View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-28-2024 , 22:52   Re: Polymorph: Mod Manager
Reply With Quote #1098

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.
__________________

Last edited by fysiks; 01-28-2024 at 22:55.
fysiks is offline