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; }