From f7f386b6978b73d00da663180c800c18729d2626 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 cdc62d520..fe9f89eb4 100644 --- a/modules/gdscript/gdscript_parser.cpp +++ b/modules/gdscript/gdscript_parser.cpp @@ -4308,7 +4308,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; }