From be8009d9cabf0413565da511e91c29be879a390e Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 3 Nov 2019 16:55:39 +0200 Subject: [PATCH] - fixed: IfGame else branch was ignored in MENUDEF https://forum.zdoom.org/viewtopic.php?t=66282 --- src/menu/menudef.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/menu/menudef.cpp b/src/menu/menudef.cpp index 90f4fa2b0..9b76cdbd6 100644 --- a/src/menu/menudef.cpp +++ b/src/menu/menudef.cpp @@ -203,7 +203,7 @@ static bool CheckSkipGameBlock(FScanner &sc) if (!filter) { SkipSubBlock(sc); - return true; + return !sc.CheckString("else"); } return false; }