summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-24 17:09:20 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-24 17:09:20 +0300
commit66c5eb00b62cba0244446a8306dde1ae138d2e06 (patch)
tree41fefef24147487d9753e24ca5b4e340f14b554f /src/gui
parentf0906ab944c982da76a5c123100e567e1db680ac (diff)
downloadplus-66c5eb00b62cba0244446a8306dde1ae138d2e06.tar.gz
plus-66c5eb00b62cba0244446a8306dde1ae138d2e06.tar.bz2
plus-66c5eb00b62cba0244446a8306dde1ae138d2e06.tar.xz
plus-66c5eb00b62cba0244446a8306dde1ae138d2e06.zip
Add chat command /gmcommands. Also add show commands to player context menu.
Diffstat (limited to 'src/gui')
-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 69ecf11c8..a5747de37 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -2664,6 +2664,9 @@ void PopupMenu::showPlayerGMCommands()
// TRANSLATORS: check player ip
mBrowserBox->addRow("ipcheck", _("Check ip"));
// TRANSLATORS: popup menu item
+ // TRANSLATORS: revive player
+ mBrowserBox->addRow("/gmcommands 'NAME'", _("Show commands"));
+ // TRANSLATORS: popup menu item
// TRANSLATORS: go to player position
mBrowserBox->addRow("goto", _("Goto"));
// TRANSLATORS: popup menu item