diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 6 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index b13a2c374..1281a8d2c 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -366,7 +366,7 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being) mBrowserBox->addRow("##3---"); // TRANSLATORS: popup menu item // TRANSLATORS: delete homunculus - mBrowserBox->addRow("homunculus delete", _("Kill")); + mBrowserBox->addRow("/homunculusfire", _("Kill")); mBrowserBox->addRow("##3---"); } addGmCommands(); @@ -1297,10 +1297,6 @@ void PopupMenu::handleLink(const std::string &link, if (chat != nullptr) chatHandler->joinChat(chat, ""); } - else if (link == "homunculus delete") - { - homunculusHandler->fire(); - } else if (link == "craftmenu") { showCraftPopup(); diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 95a3b8d3e..881368195 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4156,7 +4156,7 @@ static const InputActionData inputActionData {"keyHomunculusFire", defaultAction(&Actions::fireHomunculus), InputCondition::INGAME, - "firehomunculus|homunculusfire", + "firehomunculus|homunculusfire|firehomun|homunfire", UseArgs_false, Protected_true}, {"keyWindowBank", |