From 3869ea3c2185038b1049e2ce216b17477c07ffd0 Mon Sep 17 00:00:00 2001 From: smix8 <52464204+smix8@users.noreply.github.com> Date: Tue, 4 Oct 2022 10:32:57 +0200 Subject: [PATCH] Fix GDScript export hint for Navigation2D layer names (cherry picked from commit d955d4a1c15409f611cc11f54599dc4dc7858bac) --- modules/gdscript/gdscript_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp index 735bc3f5898..0337d9168ea 100644 --- a/modules/gdscript/gdscript_parser.cpp +++ b/modules/gdscript/gdscript_parser.cpp @@ -4310,7 +4310,7 @@ void GDScriptParser::_parse_class(ClassNode *p_class) { _set_error("Expected \")\" in the layers 2D navigation hint."); return; } - current_export.hint = PROPERTY_HINT_LAYERS_2D_PHYSICS; + current_export.hint = PROPERTY_HINT_LAYERS_2D_NAVIGATION; break; }