diff options
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r-- | src/game/g_cmds.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 04888634..96b28f52 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -1452,6 +1452,9 @@ void Cmd_Buy_f( gentity_t *ent ) //if the buyer previously had no items at all, force a new selection if( numItems == 0 ) G_AddEvent( ent, EV_NEXT_WEAPON, 0 ); + + //update ClientInfo + ClientUserinfoChanged( ent->client->ps.clientNum ); } @@ -1531,6 +1534,9 @@ void Cmd_Sell_f( gentity_t *ent ) } else trap_SendServerCommand( ent-g_entities, va( "print \"Unknown item\n\"" ) ); + + //update ClientInfo + ClientUserinfoChanged( ent->client->ps.clientNum ); } /* |