All RTV plugins are based on old base code which includes this part: (this example is taken from GG1MapChooser):
private void ResetData(string Reason)
{
Logger.LogInformation($"ResetData from {Reason}");
IsVoteInProgress = false;
nominatedMaps.Clear();
mapsToVote.Clear();
_selectedMap = null;
_roundEndMap = null;
MapToChange = "";
_votedMap = 0;
optionCounts = new Dictionary<string, int>(0);
rtvRestartProblems = 0;
roundsManager.InitialiseMap();
GlobalChatMenu = null;
GlobalWASDMenu = null;
_timeLimitVoteRoundStart = false;
_timeLimitVoteRoundEnd = false;
TimeLimitExtends = 0;
timeLimitStartEventTime = DateTime.MinValue;
}
this part alone is triggered on last player disconnect (empty server) which basically ruins the map selection for the PugSharp plugin on matchstart and selects a default map (de_dust2 90% of the time, depends on plugin), anyway to override this at all ?
All RTV plugins are based on old base code which includes this part: (this example is taken from GG1MapChooser):
this part alone is triggered on last player disconnect (empty server) which basically ruins the map selection for the PugSharp plugin on matchstart and selects a default map (de_dust2 90% of the time, depends on plugin), anyway to override this at all ?