mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-22 20:11:17 +00:00
- Forbade return scripts from triggering on save load.
This commit is contained in:
parent
38ad6ce6b7
commit
bfc8c614a0
1 changed files with 1 additions and 1 deletions
|
@ -1080,7 +1080,7 @@ void G_DoLoadLevel (int position, bool autosave)
|
|||
}
|
||||
E_PlayerEntered(ii, finishstate == FINISH_SameHub);
|
||||
// ENTER scripts are being handled when the player gets spawned, this cannot be changed due to its effect on voodoo dolls.
|
||||
if (level.FromSnapshot) FBehavior::StaticStartTypedScripts(SCRIPT_Return, players[ii].mo, true);
|
||||
if (level.FromSnapshot && !savegamerestore) FBehavior::StaticStartTypedScripts(SCRIPT_Return, players[ii].mo, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue