mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Use get_slicec instead of get_slice for single character splitters
This commit is contained in:
parent
b5bdb88062
commit
466590d0ec
58 changed files with 210 additions and 210 deletions
|
|
@ -447,8 +447,8 @@ void EditorFileSystem::_scan_filesystem() {
|
|||
name = cpath.path_join(name);
|
||||
|
||||
FileCache fc;
|
||||
fc.type = split[1].get_slice("/", 0);
|
||||
fc.resource_script_class = split[1].get_slice("/", 1);
|
||||
fc.type = split[1].get_slicec('/', 0);
|
||||
fc.resource_script_class = split[1].get_slicec('/', 1);
|
||||
fc.uid = split[2].to_int();
|
||||
fc.modification_time = split[3].to_int();
|
||||
fc.import_modification_time = split[4].to_int();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue