mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Ensure paths in autoload info
This commit is contained in:
@@ -1487,6 +1487,12 @@ ProjectSettings::AutoloadInfo ProjectSettings::get_autoload(const StringName &p_
|
||||
return autoloads[p_name];
|
||||
}
|
||||
|
||||
void ProjectSettings::fix_autoload_paths() {
|
||||
for (KeyValue<StringName, AutoloadInfo> &kv : autoloads) {
|
||||
kv.value.path = ResourceUID::ensure_path(kv.value.path);
|
||||
}
|
||||
}
|
||||
|
||||
const HashMap<StringName, String> &ProjectSettings::get_global_groups_list() const {
|
||||
return global_groups;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user