diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/g_cmds.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 2a3edfd9..01bb8c71 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -2046,6 +2046,8 @@ void Cmd_Sell_f( gentity_t *ent ) } ent->client->ps.stats[ STAT_WEAPON ] = WP_NONE; + // Cancel ghost buildables + ent->client->ps.stats[ STAT_BUILDABLE ] = BA_NONE; //add to funds G_AddCreditToClient( ent->client, (short)BG_Weapon( weapon )->price, qfalse ); |