diff options
-rw-r--r-- | script/parser/newparser.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/newparser.lua b/script/parser/newparser.lua index c2ea8d13..7ff5dca9 100644 --- a/script/parser/newparser.lua +++ b/script/parser/newparser.lua @@ -2082,7 +2082,7 @@ local function parseActions() end end if action then - if action.type == 'return' then + if not rtn and action.type == 'return' then rtn = action end last = action |