Explorar o código

Merge pull request #66868 from smix8/copy_and_paste_blyat_3.x

Fix GDScript export hint for Navigation2D layer names
Rémi Verschelde %!s(int64=2) %!d(string=hai) anos
pai
achega
fdfe663326
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/gdscript/gdscript_parser.cpp

+ 1 - 1
modules/gdscript/gdscript_parser.cpp

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