From c88a565a23d1779795ebee7a2cba014b2d3ff9f3 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 27 Dec 2008 10:44:43 +0000 Subject: Fixes empty buy help string bug --- src/game/base/shipdealer.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/game') 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 -- cgit v1.2.3