mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
rename String.extension() -> String.get_extension() / String.basename() -> String.get_basename()
This commit is contained in:
parent
f3b6177ece
commit
d9d77291bc
51 changed files with 113 additions and 113 deletions
|
@ -2068,7 +2068,7 @@ bool ResourceFormatLoaderGDScript::handles_type(const String& p_type) const {
|
|||
|
||||
String ResourceFormatLoaderGDScript::get_resource_type(const String &p_path) const {
|
||||
|
||||
String el = p_path.extension().to_lower();
|
||||
String el = p_path.get_extension().to_lower();
|
||||
if (el=="gd" || el=="gdc" || el=="gde")
|
||||
return "GDScript";
|
||||
return "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue