|
|
|
@ -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; |
|
|
|
|