Skip to content

Commit

Permalink
Fix bot skill format so it doesn't always have a space at the beginni…
Browse files Browse the repository at this point in the history
…ng of it.
  • Loading branch information
zturtleman committed Dec 29, 2012
1 parent a57a5cf commit 45bb0f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/g_bot.c
Expand Up @@ -598,7 +598,7 @@ static void G_AddBot( const char *name, float skill, const char *team, int delay
Info_SetValueForKey( userinfo, "name", botname );
Info_SetValueForKey( userinfo, "rate", "25000" );
Info_SetValueForKey( userinfo, "snaps", "20" );
Info_SetValueForKey( userinfo, "skill", va("%5.2f", skill) );
Info_SetValueForKey( userinfo, "skill", va("%.2f", skill) );

if ( skill >= 1 && skill < 2 ) {
Info_SetValueForKey( userinfo, "handicap", "50" );
Expand Down

0 comments on commit 45bb0f7

Please sign in to comment.