Browse Source

Update VotingHandlerAdapter.uc

Shtoyan 2 years ago
parent
commit
aa99b514c4
  1. 4
      sources/VotingHandlerAdapter.uc

4
sources/VotingHandlerAdapter.uc

@ -170,10 +170,12 @@ public function ReplaceHandlerMaps(XVotingHandler votingHandler, array<string> m
warn(">>> recordArray.length =" $ recordArray.length);
recordArray.length = maps.length;
votingHandler.mapCount = maps.length;
nextRecord.bEnabled = true;
for (i = 0; i < maps.length; i += 1) {
nextRecord.mapName = maps[i];
recordArray[recordArray.length] = nextRecord;
recordArray[i] = nextRecord;
}
votingHandler.mapList = recordArray;

Loading…
Cancel
Save