diff options
author | Stijn Buys <ingar@osirion.org> | 2008-12-27 10:44:43 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-12-27 10:44:43 +0000 |
commit | c88a565a23d1779795ebee7a2cba014b2d3ff9f3 (patch) | |
tree | 38d6ad916535b286120fbd41848ae08b0a452906 | |
parent | 5eb85209c11c149b9538cea37e5e9ba461a2a7cc (diff) |
Fixes empty buy help string bug
-rw-r--r-- | src/game/base/shipdealer.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/base/shipdealer.cc b/src/game/base/shipdealer.cc index c1d3b10..83bc0dc 100644 --- a/src/game/base/shipdealer.cc +++ b/src/game/base/shipdealer.cc @@ -87,10 +87,9 @@ void ShipDealer::func_buy(core::Player *player, const std::string &args) if (helpstr.size()) helpstr.append("^N|^B"); helpstr.append((*smit).second->label()); - - player->send("Usage: buy [^B" + helpstr + "^N]"); - return; } + player->send("Usage: buy [^B" + helpstr + "^N]"); + return; } // find the ship dealer we're buying the ship from |