You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Fix GDScript export hint for Navigation2D layer names
(cherry picked from commit d955d4a1c1)
This commit is contained in:
@@ -4310,7 +4310,7 @@ void GDScriptParser::_parse_class(ClassNode *p_class) {
|
|||||||
_set_error("Expected \")\" in the layers 2D navigation hint.");
|
_set_error("Expected \")\" in the layers 2D navigation hint.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
current_export.hint = PROPERTY_HINT_LAYERS_2D_PHYSICS;
|
current_export.hint = PROPERTY_HINT_LAYERS_2D_NAVIGATION;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user