mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 21:51:09 +00:00
REOPEN scripts should not be called per player pawn
This commit is contained in:
parent
7fa50c22e5
commit
19d2f6a4db
1 changed files with 6 additions and 3 deletions
|
@ -1350,11 +1350,14 @@ void G_FinishTravel ()
|
||||||
if (level.FromSnapshot)
|
if (level.FromSnapshot)
|
||||||
{
|
{
|
||||||
FBehavior::StaticStartTypedScripts (SCRIPT_Return, pawn, true);
|
FBehavior::StaticStartTypedScripts (SCRIPT_Return, pawn, true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (level.FromSnapshot)
|
||||||
|
{
|
||||||
// [Nash] run REOPEN scripts upon map re-entry
|
// [Nash] run REOPEN scripts upon map re-entry
|
||||||
FBehavior::StaticStartTypedScripts(SCRIPT_Reopen, NULL, false);
|
FBehavior::StaticStartTypedScripts(SCRIPT_Reopen, NULL, false);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
bglobal.FinishTravel ();
|
bglobal.FinishTravel ();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue