Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/base/game.cc')
-rw-r--r--src/game/base/game.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/base/game.cc b/src/game/base/game.cc
index 1202fe6..7fc3eb5 100644
--- a/src/game/base/game.cc
+++ b/src/game/base/game.cc
@@ -202,6 +202,7 @@ void Game::func_give(core::Player *player, const std::string &args)
if (!player->control()) {
player->send("^WNeed a ship to swap with!");
+ return;
}
if (!(is >> labelstr)) {