This commit is contained in:
Christoph Oelckers 2015-07-15 13:03:12 +02:00
commit 02c3828e8d
6 changed files with 40 additions and 7 deletions

View file

@ -533,6 +533,10 @@ void G_ChangeLevel(const char *levelname, int position, int flags, int nextSkill
Printf (TEXTCOLOR_RED "Unloading scripts cannot exit the level again.\n");
return;
}
if (gameaction == ga_completed) // do not exit multiple times.
{
return;
}
if (levelname == NULL || *levelname == 0)
{