From 86c02e2712e2177ae6a41bbfa66e6284d6ff9b15 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Feb 2016 18:37:52 +0300 Subject: Add chat command /loadposition. Also add it to player context menu. --- src/gui/popups/popupmenu.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index cdcbf836a..763bdd771 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -2737,7 +2737,10 @@ void PopupMenu::showPlayerGMCommands() } // TRANSLATORS: popup menu item // TRANSLATORS: set player save position - mBrowserBox->addRow("/savepos", _("Set save position")); + mBrowserBox->addRow("/savepos 'NAME'", _("Set save position")); + // TRANSLATORS: popup menu item + // TRANSLATORS: warp player to save position + mBrowserBox->addRow("/loadpos 'NAME'", _("Warp to save position")); mBrowserBox->addRow("##3---"); // TRANSLATORS: popup menu item // TRANSLATORS: spawn player clone -- cgit v1.2.3-70-g09d2