summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-01 01:03:44 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-01 01:03:44 +0300
commit368931eb3af8153f8bba5cae9ff89ad57bb4a1b7 (patch)
treeca4fedc38e32ec4053215e5d0e45c6940a9a343c /src/input/inputactionmap.h
parenteb694307c2b73e64f208c0d37d4c79207018d07a (diff)
downloadmv-368931eb3af8153f8bba5cae9ff89ad57bb4a1b7.tar.gz
mv-368931eb3af8153f8bba5cae9ff89ad57bb4a1b7.tar.bz2
mv-368931eb3af8153f8bba5cae9ff89ad57bb4a1b7.tar.xz
mv-368931eb3af8153f8bba5cae9ff89ad57bb4a1b7.zip
Add chat command to set serverconfig variables.
New chat command: /servconfset varname value Alias: /setservconf varname value
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 0aa8adea1..e5ed5c5d1 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4474,6 +4474,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"confset|setconf",
true},
+ {"keyServerConfSet",
+ defaultAction(&Actions::serverConfSet),
+ InputCondition::INGAME,
+ "servconfset|setservconf",
+ true},
};
#undef defaultAction