From 19d2f6a4dbda2c1a6a934491e0e37a2bbdb8d609 Mon Sep 17 00:00:00 2001 From: ZZYZX Date: Thu, 2 Feb 2017 20:27:57 +0200 Subject: [PATCH] REOPEN scripts should not be called per player pawn --- src/g_level.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/g_level.cpp b/src/g_level.cpp index 19c397437..55e6c1140 100644 --- a/src/g_level.cpp +++ b/src/g_level.cpp @@ -1350,12 +1350,15 @@ void G_FinishTravel () if (level.FromSnapshot) { FBehavior::StaticStartTypedScripts (SCRIPT_Return, pawn, true); - - // [Nash] run REOPEN scripts upon map re-entry - FBehavior::StaticStartTypedScripts(SCRIPT_Reopen, NULL, false); } } + if (level.FromSnapshot) + { + // [Nash] run REOPEN scripts upon map re-entry + FBehavior::StaticStartTypedScripts(SCRIPT_Reopen, NULL, false); + } + bglobal.FinishTravel (); // make sure that, after travelling has completed, no travelling thinkers are left.