From 5d3f5e8cf28f528b08296d3d2d7e71b82d4377d8 Mon Sep 17 00:00:00 2001 From: Danil Alexeev Date: Fri, 26 May 2023 22:50:02 +0300 Subject: [PATCH] GDScript: Fix crash in disassembler --- modules/gdscript/gdscript_disassembler.cpp | 73 ++++++++++++++-------- 1 file changed, 48 insertions(+), 25 deletions(-) diff --git a/modules/gdscript/gdscript_disassembler.cpp b/modules/gdscript/gdscript_disassembler.cpp index 0438bd8903f..c66439fd9d6 100644 --- a/modules/gdscript/gdscript_disassembler.cpp +++ b/modules/gdscript/gdscript_disassembler.cpp @@ -35,6 +35,22 @@ #include "core/string/string_builder.h" +static String _get_script_name(const Ref