From 9bc12d91bb8d149ea49db42bdfb62781081457c8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Feb 2016 23:19:40 +0300 Subject: Add chat command /kill. Also add it 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 01522c8e4..95e609876 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5431,6 +5431,12 @@ static const InputActionData inputActionData "nuke", UseArgs_true, Protected_true}, + {"keyCommandKill", + defaultAction(&Actions::commandKill), + InputCondition::INGAME, + "kill", + UseArgs_true, + Protected_true}, }; #undef defaultAction -- cgit v1.2.3-70-g09d2