diff options
| author | Juan Linietsky | 2017-01-14 00:51:09 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-14 00:51:09 -0300 |
| commit | d9d77291bca8dd1e87aa4d9e40de96d99e5ef1f6 (patch) | |
| tree | f5c92321612fdd5f8967c349898d3475b52bf930 /modules/gdscript/gd_script.cpp | |
| parent | f3b6177ece8a06e52870ed422cbcc67276606e5a (diff) | |
| download | godot-d9d77291bca8dd1e87aa4d9e40de96d99e5ef1f6.tar.gz godot-d9d77291bca8dd1e87aa4d9e40de96d99e5ef1f6.tar.zst godot-d9d77291bca8dd1e87aa4d9e40de96d99e5ef1f6.zip | |
Diffstat (limited to 'modules/gdscript/gd_script.cpp')
| -rw-r--r-- | modules/gdscript/gd_script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_script.cpp b/modules/gdscript/gd_script.cpp index ad012e54b..6ff29072c 100644 --- a/modules/gdscript/gd_script.cpp +++ b/modules/gdscript/gd_script.cpp @@ -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 ""; |
