Ported "Fix GDScript export hint for Navigation2D layer names - smix8" for cscript aswell.

This commit is contained in:
Relintai 2022-10-08 17:30:43 +02:00
parent f7f386b697
commit 2c225f79fb

View File

@ -4232,7 +4232,7 @@ void CScriptParser::_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;
} }