diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/base/ship.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/base/ship.cc b/src/game/base/ship.cc index 15b995c..cc583d9 100644 --- a/src/game/base/ship.cc +++ b/src/game/base/ship.cc @@ -113,6 +113,12 @@ Ship::Ship(core::Player *owner, const ShipModel *shipmodel) : core::EntityContro add_menu(menu_main); ButtonDescription *button = new ButtonDescription(); + button->set_text("Repair"); + button->set_command("repair confirm", ButtonDescription::CommandGame); + button->set_alignment(ButtonDescription::Center); + menu_main->add_button(button); + + button = new ButtonDescription(); button->set_text("Launch"); button->set_command("launch", ButtonDescription::CommandGame); button->set_alignment(ButtonDescription::Center); |