diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-24 18:28:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-24 18:28:40 +0300 |
commit | bb604b783f5909d068ced29e17a698a37115ebb6 (patch) | |
tree | 9ffb791e7ede21177f5377ac18227f7596f7ccee /src/actions/commands.cpp | |
parent | 7e3a0e3668788cc9e63b0bc7f69ce793e2680ec4 (diff) | |
download | mv-bb604b783f5909d068ced29e17a698a37115ebb6.tar.gz mv-bb604b783f5909d068ced29e17a698a37115ebb6.tar.bz2 mv-bb604b783f5909d068ced29e17a698a37115ebb6.tar.xz mv-bb604b783f5909d068ced29e17a698a37115ebb6.zip |
Add chat command /showcart. Also add show cart 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 43fca1874..503cb95dc 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1293,4 +1293,10 @@ impHandler(commandShowStorage) return true; } +impHandler(commandShowCart) +{ + adminHandler->showCartList(event.args); + return true; +} + } // namespace Actions |