From 227788d991459081a894428d4455ead1dd8b46d6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Feb 2016 18:02:24 +0300 Subject: Add chat command /showstats. Also add show level stats 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 8e834168d..1e8e04dc0 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5293,6 +5293,12 @@ static const InputActionData inputActionData "showlevel|exp", UseArgs_true, Protected_true}, + {"keyCommandShowStats", + defaultAction(&Actions::commandShowStats), + InputCondition::INGAME, + "showstats|stats", + UseArgs_true, + Protected_true}, }; #undef defaultAction -- cgit v1.2.3-60-g2f50