Don't show "exited the level" messages after the level has exited

This commit is contained in:
Randy Heit 2016-01-25 20:18:33 -06:00
parent 774c136532
commit 61d033328b

View file

@ -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());
}