From 346c7d094e24cd58392d8cfd64d7bb8011041d8d Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Sat, 17 Apr 2021 17:52:46 +0700 Subject: [PATCH] Fix aliases error definitions being public --- sources/Aliases/AliasSource.uc | 3 ++- sources/Aliases/AliasesAPI.uc | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sources/Aliases/AliasSource.uc b/sources/Aliases/AliasSource.uc index 1cb9a69..1d6b542 100644 --- a/sources/Aliases/AliasSource.uc +++ b/sources/Aliases/AliasSource.uc @@ -23,6 +23,7 @@ * along with Acedia. If not, see . */ class AliasSource extends Singleton + dependson(AssociativeArray) config(AcediaAliases); // (Sub-)class of `Aliases` objects that this `AliasSource` uses to store @@ -51,7 +52,7 @@ var private config array record; // Otherwise only stores first loaded alias. var private AssociativeArray aliasHash; -var LoggerAPI.Definition errIncorrectAliasPair, warnDuplicateAlias; +var private LoggerAPI.Definition errIncorrectAliasPair, warnDuplicateAlias; // Load and hash all the data `AliasSource` creation. protected function OnCreated() diff --git a/sources/Aliases/AliasesAPI.uc b/sources/Aliases/AliasesAPI.uc index ca16c8c..e43468d 100644 --- a/sources/Aliases/AliasesAPI.uc +++ b/sources/Aliases/AliasesAPI.uc @@ -20,8 +20,8 @@ class AliasesAPI extends AcediaObject dependson(LoggerAPI); -var LoggerAPI.Definition noWeaponAliasSource, invalidWeaponAliasSource; -var LoggerAPI.Definition noColorAliasSource, invalidColorAliasSource; +var private LoggerAPI.Definition noWeaponAliasSource, invalidWeaponAliasSource; +var private LoggerAPI.Definition noColorAliasSource, invalidColorAliasSource; /** * Provides an easier access to the instance of the `AliasSource` of