diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/game.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/game.cc b/src/game/game.cc index 8054773..50ac3ec 100644 --- a/src/game/game.cc +++ b/src/game/game.cc @@ -37,6 +37,7 @@ void func_join(core::Player *player, std::string const &args) player->player_control = new Ship(player, default_shipmodel); player->control()->entity_color = player->color(); + core::server()->send_sound(player, "game/buy-ship"); std::string message("^B"); message.append(player->name()); @@ -99,6 +100,7 @@ void func_buy(core::Player *player, std::string const &args) player->control()->entity_color = player->color(); core::server()->broadcast("^B" + player->name() + " ^Bpurchased " + aux::article(shipmodel->name())); + core::server()->send_sound(player, "game/buy-ship"); player->player_dirty = true; } else { core::server()->send(player, "Usage: buy [^B" + helpstr + "^N]"); |