diff options
Diffstat (limited to 'src/game/base')
-rw-r--r-- | src/game/base/game.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/base/game.cc b/src/game/base/game.cc index b6cacde..cebbe01 100644 --- a/src/game/base/game.cc +++ b/src/game/base/game.cc @@ -1021,7 +1021,7 @@ void Game::func_drop(core::Player *player, const std::string &args) spacemine->reset(); // remove mine from inventory - item->set_amount(1); + item->dec_amount(1); if (item->amount() == 0) { ship->inventory()->erase(item->id()); } |