Skip to content

Commit 9605366

Browse files
committed
RACE: When QW-Group#1 record set in multi-racing, fix name immediately
Reported by bogojoker
1 parent bf074db commit 9605366

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/race.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,6 @@ static void race_over(void)
12381238
if (!i) {
12391239
// first place! we go the extra mile
12401240
sound(racer, CHAN_ITEM, "boss2/sight.wav", 1, ATTN_NONE);
1241-
strlcpy(race.top_nick, racer->netname, sizeof(race.top_nick));
12421241
}
12431242
else {
12441243
sound(racer, CHAN_ITEM, "ambience/thunder1.wav", 1, ATTN_NONE);
@@ -1247,6 +1246,7 @@ static void race_over(void)
12471246

12481247
if (!i) {
12491248
race.top_time = race.currentrace[player_num].time;
1249+
strlcpy(race.top_nick, racer->netname, sizeof(race.top_nick));
12501250
}
12511251
}
12521252

0 commit comments

Comments
 (0)