You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
@@ -1454,7 +1454,7 @@ void AudioServer::update() {
|
||||
}
|
||||
|
||||
void AudioServer::load_default_bus_layout() {
|
||||
String layout_path = ProjectSettings::get_singleton()->get("audio/buses/default_bus_layout");
|
||||
String layout_path = GLOBAL_GET("audio/buses/default_bus_layout");
|
||||
|
||||
if (ResourceLoader::exists(layout_path)) {
|
||||
Ref<AudioBusLayout> default_layout = ResourceLoader::load(layout_path);
|
||||
|
||||
Reference in New Issue
Block a user