diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 470376d..17db035 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -708,7 +708,7 @@ void G_ChangeTeam( gentity_t *ent, pTeam_t newTeam ) ent->client->pers.score = 0; } - ent->client->ps.persistant[ PERS_CREDIT ] = ent->client->pers.funds; + ent->client->ps.persistant[ PERS_CREDIT ] = floorf(ent->client->pers.funds); ent->client->ps.persistant[ PERS_KILLED ] = 0; ent->client->pers.statscounters.kills = 0; ent->client->pers.statscounters.structskilled = 0; |