From d955d4a1c15409f611cc11f54599dc4dc7858bac 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 --- 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 9ce1d538f07..374b0a7a953 100644 --- a/modules/gdscript/gdscript_parser.cpp +++ b/modules/gdscript/gdscript_parser.cpp @@ -4350,7 +4350,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; }