Skip to content

Commit 89f4c78

Browse files
committed
fix
1 parent 35da5ac commit 89f4c78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codemp/game/g_trigger.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1903,7 +1903,7 @@ void Use_target_restrict_on(gentity_t *trigger, gentity_t *other, gentity_t *pla
19031903
player->client->ps.stats[STAT_RESTRICTIONS] |= JAPRO_RESTRICT_BHOP;
19041904
}
19051905

1906-
if (trigger->spawnflags & RESTRICT_FLAG_RESET) {
1906+
if (player->client->pers.stats.startTime && trigger->spawnflags & RESTRICT_FLAG_RESET) {
19071907
player->client->pers.stats.startTime = 0;
19081908
if (player->client->sess.raceMode)
19091909
player->client->ps.duelTime = 0;

0 commit comments

Comments
 (0)