From 66c5eb00b62cba0244446a8306dde1ae138d2e06 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Feb 2016 17:09:20 +0300 Subject: Add chat command /gmcommands. Also add show commands to player context menu. --- src/input/inputactionmap.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/input/inputactionmap.h') diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 26ed69906..15816dcd9 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5275,6 +5275,12 @@ static const InputActionData inputActionData "mobspawnsearch|monsterspawnsearch|whereis", UseArgs_true, Protected_true}, + {"keyPlayerGmCommands", + defaultAction(&Actions::playerGmCommands), + InputCondition::INGAME, + "gmcommands|playergmcommands|playercommands", + UseArgs_true, + Protected_true}, }; #undef defaultAction -- cgit v1.2.3-60-g2f50