mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
Don't show "exited the level" messages after the level has exited
This commit is contained in:
parent
774c136532
commit
61d033328b
1 changed files with 2 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue