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