1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix GDScript export hint for Navigation2D layer names

This commit is contained in:
smix8
2022-10-04 10:32:57 +02:00
parent cbde08d452
commit d955d4a1c1

View File

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