diff --git a/src/p_spec.cpp b/src/p_spec.cpp index 0dcf5124a5..b49dd43afb 100644 --- a/src/p_spec.cpp +++ b/src/p_spec.cpp @@ -36,6 +36,7 @@ #include "templates.h" #include "doomdef.h" #include "doomstat.h" +#include "d_event.h" #include "gstrings.h" #include "i_system.h" @@ -174,7 +175,7 @@ bool CheckIfExitIsGood (AActor *self, level_info_t *info) { return false; } - if (deathmatch) + if (deathmatch && gameaction != ga_completed) { Printf ("%s exited the level.\n", self->player->userinfo.GetName()); }