Fix bad copypaste

Wow I need to sleep more lmao
This commit is contained in:
NepDisk 2026-04-12 21:46:53 -04:00
parent bb962c3d5a
commit c85c020ba4

View file

@ -8855,7 +8855,7 @@ void K_SetRespawnAtNextWaypoint(player_t *player)
}
// If the player's current and next waypoint is safe, carry on as usual
if (player->currentwaypoint && (K_SafeRespawnWaypoint(nextwp) || K_GetWaypointIsFinishline(nextwp)))
if (player->currentwaypoint && (K_SafeRespawnWaypoint(player->nextwaypoint) || K_GetWaypointIsFinishline(player->nextwaypoint)))
{
previouswp = player->currentwaypoint;
nextwp = player->nextwaypoint;