Bläddra i källkod

Fix GDScript export hint for Navigation2D layer names

smix8 3 år sedan
förälder
incheckning
d955d4a1c1
1 ändrade filer med 1 tillägg och 1 borttagningar
  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.");
 											_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;
 									}
 									}