X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Fmain.qc;h=04cafebbd3a341786d40a29acc313c9b321620c0;hp=026db91f5edc84e519b6ceb71a41cd3a88c8e111;hb=357d1a9e93b6b478da29b381deece19817c1abb9;hpb=caf416774c49269dbf52a2d17a2956ba2270b50f diff --git a/qcsrc/client/main.qc b/qcsrc/client/main.qc index 026db91f5e..04cafebbd3 100644 --- a/qcsrc/client/main.qc +++ b/qcsrc/client/main.qc @@ -1124,7 +1124,10 @@ NET_HANDLE(TE_CSQC_RACE, bool isNew) case RACE_NET_PENALTY_QUALIFYING: race_penaltyeventtime = time; race_penaltytime = ReadShort(); - strcpy(race_penaltyreason, ReadString()); + string reason = ReadString(); + if (reason == "missing a checkpoint") + reason = _("missing a checkpoint"); + strcpy(race_penaltyreason, reason); if (b == RACE_NET_PENALTY_QUALIFYING) race_penaltyaccumulator += race_penaltytime; break;