Browse Source

Change db command to new AcediaCore changes

feature_improvement
Anton Tarasenko 2 years ago
parent
commit
b7aab67846
  1. 7
      sources/Commands/ACommandDB.uc

7
sources/Commands/ACommandDB.uc

@ -399,10 +399,11 @@ protected function DisplaySize(
protected function DisplayKeys( protected function DisplayKeys(
Database.DBQueryResult result, Database.DBQueryResult result,
DynamicArray keys, ArrayList keys,
Database source) Database source)
{ {
local int i; local int i;
local Text nextKey;
local EPlayer instigator; local EPlayer instigator;
local ConsoleWriter console; local ConsoleWriter console;
@ -420,7 +421,9 @@ protected function DisplayKeys(
if (i > 0) { if (i > 0) {
console.ResetColor().Write(P(", ")); console.ResetColor().Write(P(", "));
} }
console.UseColor(_.color.jPropertyName).Write(keys.GetText(i)); nextKey = keys.GetText(i);
console.UseColor(_.color.jPropertyName).Write(nextKey);
_.memory.Free(nextKey);
} }
console.Flush(); console.Flush();
_.memory.Free(instigator); _.memory.Free(instigator);

Loading…
Cancel
Save