Change code to adapt to iterator's refactor

This commit is contained in:
Anton Tarasenko 2022-07-08 04:16:27 +07:00
parent a026b731ee
commit 7721b520f5

View File

@ -166,11 +166,11 @@ private function string BuildMutatorString(GameMode gameMode)
private function string BuildOptionsString(GameMode gameMode)
{
local bool optionWasAdded;
local string result;
local string nextKey, nextValue;
local Iter iter;
local AssociativeArray options;
local bool optionWasAdded;
local string result;
local string nextKey, nextValue;
local CollectionIterator iter;
local AssociativeArray options;
options = gameMode.GetOptions();
for (iter = options.Iterate(); !iter.HasFinished(); iter.Next())
{