summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-24 18:02:24 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-24 18:02:24 +0300
commit227788d991459081a894428d4455ead1dd8b46d6 (patch)
tree8ddff2efce648fd89a3a51846650670d23ccc041 /src/gui/popups/popupmenu.cpp
parent52f9607980c82f53bbc76a5bb5825cbff61dc3b5 (diff)
downloadmv-227788d991459081a894428d4455ead1dd8b46d6.tar.gz
mv-227788d991459081a894428d4455ead1dd8b46d6.tar.bz2
mv-227788d991459081a894428d4455ead1dd8b46d6.tar.xz
mv-227788d991459081a894428d4455ead1dd8b46d6.zip
Add chat command /showstats. Also add show level stats to player context menu.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-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 eeadcd604..82c7264b5 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -2667,6 +2667,9 @@ void PopupMenu::showPlayerGMCommands()
// TRANSLATORS: show player level
mBrowserBox->addRow("/showlevel 'NAME'", _("Show level"));
// TRANSLATORS: popup menu item
+ // TRANSLATORS: show player stats
+ mBrowserBox->addRow("/showstats 'NAME'", _("Show stats"));
+ // TRANSLATORS: popup menu item
// TRANSLATORS: gm commands
mBrowserBox->addRow("/gmcommands 'NAME'", _("Show commands"));
// TRANSLATORS: popup menu item