Browse Source

Fix `Feature` validator using wrong log warning

new
Anton Tarasenko 3 years ago
parent
commit
195c671df4
  1. 2
      sources/GameModes/BaseGameMode.uc

2
sources/GameModes/BaseGameMode.uc

@ -279,7 +279,7 @@ private function ValidateFeatureArray(
} }
if (!foundItem) if (!foundItem)
{ {
_.logger.Auto(warnBadMutatorName) _.logger.Auto(warnBadFeatureName)
.Arg(_.text.FromString(includeMutator[i])) .Arg(_.text.FromString(includeMutator[i]))
.Arg(_.text.FromString(string(name))) .Arg(_.text.FromString(string(name)))
.Arg(_.text.FromString(arrayName)); .Arg(_.text.FromString(arrayName));