From a69c3cace2031ffcdfefaee4e0ccebead5991be0 Mon Sep 17 00:00:00 2001 From: Thakee Nathees Date: Thu, 1 Oct 2020 17:01:11 +0530 Subject: [PATCH] GDScript signal lines marked as safe Fix: #33927 --- modules/gdscript/gdscript_parser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp index 9167096bc37..6cce55337d6 100644 --- a/modules/gdscript/gdscript_parser.cpp +++ b/modules/gdscript/gdscript_parser.cpp @@ -4109,6 +4109,7 @@ void GDScriptParser::_parse_class(ClassNode *p_class) { //arguments } break; case GDScriptTokenizer::TK_PR_SIGNAL: { + _mark_line_as_safe(tokenizer->get_token_line()); tokenizer->advance(); if (!tokenizer->is_token_literal()) {