summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-25 20:13:04 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-25 20:13:04 +0300
commit704b5b31fea63483c81f0744d88e46a856573424 (patch)
tree37a3530e9be27f0aca4283ec90944174aae542fa /src/gui/popups
parent25bf3308cf490313b4a86b78643226f078ce4f7e (diff)
downloadmv-704b5b31fea63483c81f0744d88e46a856573424.tar.gz
mv-704b5b31fea63483c81f0744d88e46a856573424.tar.bz2
mv-704b5b31fea63483c81f0744d88e46a856573424.tar.xz
mv-704b5b31fea63483c81f0744d88e46a856573424.zip
Add chat command /killer. Also add it to player context menu.
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/popupmenu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index cb46084d2..f5bc3d32d 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -2746,6 +2746,9 @@ void PopupMenu::showPlayerGMCommands()
if (!legacy)
{
// TRANSLATORS: popup menu item
+ // TRANSLATORS: set player as killer
+ mBrowserBox->addRow("/killer 'NAME'", _("Killer"));
+ // TRANSLATORS: popup menu item
// TRANSLATORS: set player save position
mBrowserBox->addRow("/savepos 'NAME'", _("Set save"));
// TRANSLATORS: popup menu item