Browse Source

Remove deprecated `Collection.Empty()` parameter

feature_improvement
Anton Tarasenko 2 years ago
parent
commit
de3a1a480e
  1. 5
      sources/Commands/ACommandDB.uc

5
sources/Commands/ACommandDB.uc

@ -356,7 +356,6 @@ protected function DisplayData(
{
local Text printedJSON;
local EPlayer instigator;
local Collection dataAsCollection;
instigator = PopPlayer(source);
OutputStatus(instigator, result);
@ -368,10 +367,6 @@ protected function DisplayData(
_.memory.Free(instigator);
instigator = none;
}
dataAsCollection = Collection(data);
if (dataAsCollection != none) {
dataAsCollection.Empty(true);
}
_.memory.Free(data);
}

Loading…
Cancel
Save