diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-01 01:21:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-01 01:21:39 +0300 |
commit | 0f25d9c48f75b270da3ec7c86b21f17877513f21 (patch) | |
tree | d0e84d7aced4bbe5375a470a4b23136c9684e846 /src/input/inputactionmap.h | |
parent | 368931eb3af8153f8bba5cae9ff89ad57bb4a1b7 (diff) | |
download | mv-0f25d9c48f75b270da3ec7c86b21f17877513f21.tar.gz mv-0f25d9c48f75b270da3ec7c86b21f17877513f21.tar.bz2 mv-0f25d9c48f75b270da3ec7c86b21f17877513f21.tar.xz mv-0f25d9c48f75b270da3ec7c86b21f17877513f21.zip |
Add chat command to show configuration variable in chat.
New chat command: /confget varname
Alias: /getconf varname
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r-- | src/input/inputactionmap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index e5ed5c5d1..653c83973 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4479,6 +4479,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "servconfset|setservconf", true}, + {"keyConfGet", + defaultAction(&Actions::confGet), + InputCondition::INGAME, + "confget|getconf", + true}, }; #undef defaultAction |