mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-29 07:02:03 +00:00
- Forbade return scripts from triggering on save load.
This commit is contained in:
parent
ca75777a70
commit
df5b685950
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