diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-24 18:02:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-24 18:02:24 +0300 |
commit | 227788d991459081a894428d4455ead1dd8b46d6 (patch) | |
tree | 8ddff2efce648fd89a3a51846650670d23ccc041 /src/actions/commands.cpp | |
parent | 52f9607980c82f53bbc76a5bb5825cbff61dc3b5 (diff) | |
download | manaverse-227788d991459081a894428d4455ead1dd8b46d6.tar.gz manaverse-227788d991459081a894428d4455ead1dd8b46d6.tar.bz2 manaverse-227788d991459081a894428d4455ead1dd8b46d6.tar.xz manaverse-227788d991459081a894428d4455ead1dd8b46d6.zip |
Add chat command /showstats. Also add show level stats to player context menu.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r-- | src/actions/commands.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index 0a5d098b1..a6be02b6a 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1281,4 +1281,10 @@ impHandler(commandShowLevel) return true; } +impHandler(commandShowStats) +{ + adminHandler->showStats(event.args); + return true; +} + } // namespace Actions |