Browse Source

Change code to adapt to iterator's refactor

develop
Anton Tarasenko 2 years ago
parent
commit
7721b520f5
  1. 10
      sources/VotingHandlerAdapter.uc

10
sources/VotingHandlerAdapter.uc

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

Loading…
Cancel
Save