Use K_IsPlayerLosing for failure of Tutorial Challenge instead of recreated conditions, to reduce the number of moving parts

This commit is contained in:
toaster 2023-11-18 20:01:38 +00:00
parent f365ef9417
commit 146666fad4

View file

@ -4212,9 +4212,8 @@ static void G_DoCompleted(void)
{
if (
!legitimateexit
|| players[consoleplayer].position != 1
|| !players[consoleplayer].exiting
|| (players[consoleplayer].pflags & PF_NOCONTEST)
|| K_IsPlayerLosing(&players[consoleplayer])
)
{
// Return to whence you came with your tail between your legs