From 51c6a5e0ab35860a7b985bfe75633845d75e8889 Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Thu, 18 Nov 2021 12:24:55 +0700 Subject: [PATCH] Remove commands list from manifest --- sources/Commands/Commands_Feature.uc | 4 ++-- sources/Manifest.uc | 4 ---- sources/_manifest.uc | 3 --- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/sources/Commands/Commands_Feature.uc b/sources/Commands/Commands_Feature.uc index 7f7c2b8..a064b5c 100644 --- a/sources/Commands/Commands_Feature.uc +++ b/sources/Commands/Commands_Feature.uc @@ -20,8 +20,7 @@ * You should have received a copy of the GNU General Public License * along with Acedia. If not, see . */ -class Commands_Feature extends Feature - config(AcediaSystem); +class Commands_Feature extends Feature; // Delimiters that always separate command name from it's parameters var private array commandDelimiters; @@ -38,6 +37,7 @@ var LoggerAPI.Definition errCommandDuplicate; protected function OnEnabled() { registeredCommands = _.collections.EmptyAssociativeArray(); + RegisterCommand(class'ACommandHelp'); _.unreal.broadcasts.OnHandleText(self).connect = HandleText; // Macro selector commandDelimiters[0] = P("@"); diff --git a/sources/Manifest.uc b/sources/Manifest.uc index 19d8a41..6e80d83 100644 --- a/sources/Manifest.uc +++ b/sources/Manifest.uc @@ -24,10 +24,6 @@ defaultproperties { features(0) = class'Commands_Feature' features(1) = class'Avarice_Feature' - commands(0) = class'ACommandHelp' - commands(1) = class'ACommandDosh' - commands(2) = class'ACommandNick' - commands(3) = class'ACommandTrader' services(0) = class'ConnectionService' services(1) = class'PlayerService' aliasSources(0) = class'AliasSource' diff --git a/sources/_manifest.uc b/sources/_manifest.uc index ece3acc..e6b389d 100644 --- a/sources/_manifest.uc +++ b/sources/_manifest.uc @@ -27,9 +27,6 @@ var public const array< class > aliasSources; // List of features in this manifest's package. var public const array< class > features; -// List of commands in this manifest's package. -var public const array< class > commands; - // List of test cases in this manifest's package. var public const array< class > testCases;