diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-25 22:25:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-25 22:25:26 +0300 |
commit | 0f49c02c2813ce853a7699b673103c8ef5edc05d (patch) | |
tree | 5b34aa7ad1a09baa115b6a0b83eb9676969afee4 /src/gui/popups | |
parent | 11bab6c211e60bfa7e50cf3de10429c1feaf9547 (diff) | |
download | plus-0f49c02c2813ce853a7699b673103c8ef5edc05d.tar.gz plus-0f49c02c2813ce853a7699b673103c8ef5edc05d.tar.bz2 plus-0f49c02c2813ce853a7699b673103c8ef5edc05d.tar.xz plus-0f49c02c2813ce853a7699b673103c8ef5edc05d.zip |
Add chat command for warp to player.
Diffstat (limited to 'src/gui/popups')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 1d568d0d6..6b3aaf68a 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1253,10 +1253,6 @@ void PopupMenu::handleLink(const std::string &link, if (mTextField) mTextField->handlePaste(); } - else if (link == "goto" && !mName.empty()) - { - adminHandler->gotoName(mName); - } else if (link == "recall" && !mName.empty()) { adminHandler->recallName(mName); @@ -2812,7 +2808,7 @@ void PopupMenu::showPlayerGMCommands(const std::string &name) } // TRANSLATORS: popup menu item // TRANSLATORS: go to player position - mBrowserBox->addRow("goto", _("Goto")); + mBrowserBox->addRow("/gotopc 'NAME'", _("Goto")); // TRANSLATORS: popup menu item // TRANSLATORS: recall player to current position mBrowserBox->addRow("recall", _("Recall")); |