Skip to content

Commit

Permalink
fix pluralization in attempts message
Browse files Browse the repository at this point in the history
  • Loading branch information
timbergeron committed Dec 7, 2024
1 parent 0700105 commit 6c74cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Quake/net_dgrm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2286,7 +2286,7 @@ static qsocket_t *_Datagram_Connect (struct qsockaddr *serveraddr)
int attemptsLeft = totalAttempts - reps - 1;
if (attemptsLeft > 0)
{
Con_SafePrintf("still trying... (%d attempts left)\n", attemptsLeft);
Con_SafePrintf("still trying... (%d attempt%s left)\n",attemptsLeft, attemptsLeft == 1 ? "" : "s");
SCR_UpdateScreen ();
}
start_time = SetNetTime();
Expand Down

0 comments on commit 6c74cb4

Please sign in to comment.