0
0
Fork 0
mirror of https://github.com/ZDoom/qzdoom-gpl.git synced 2025-02-28 14:01:08 +00:00

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 "templates.h"
#include "doomdef.h" #include "doomdef.h"
#include "doomstat.h" #include "doomstat.h"
#include "d_event.h"
#include "gstrings.h" #include "gstrings.h"
#include "i_system.h" #include "i_system.h"
@ -174,7 +175,7 @@ bool CheckIfExitIsGood (AActor *self, level_info_t *info)
{ {
return false; return false;
} }
if (deathmatch) if (deathmatch && gameaction != ga_completed)
{ {
Printf ("%s exited the level.\n", self->player->userinfo.GetName()); Printf ("%s exited the level.\n", self->player->userinfo.GetName());
} }