mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
parent
28a4eec9a7
commit
e48c5daddf
113 changed files with 528 additions and 528 deletions
|
|
@ -477,7 +477,7 @@ void AudioStreamPlayer2D::_bind_methods() {
|
|||
|
||||
AudioStreamPlayer2D::AudioStreamPlayer2D() {
|
||||
AudioServer::get_singleton()->connect("bus_layout_changed", callable_mp(this, &AudioStreamPlayer2D::_bus_layout_changed));
|
||||
cached_global_panning_strength = ProjectSettings::get_singleton()->get("audio/general/2d_panning_strength");
|
||||
cached_global_panning_strength = GLOBAL_GET("audio/general/2d_panning_strength");
|
||||
}
|
||||
|
||||
AudioStreamPlayer2D::~AudioStreamPlayer2D() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue