diff options
| author | kobewi <kobewi4e@gmail.com> | 2022-10-18 16:43:37 +0200 |
|---|---|---|
| committer | kobewi <kobewi4e@gmail.com> | 2022-10-18 19:01:48 +0200 |
| commit | e48c5daddfa70172c0eab57b8045a7087eec6e2c (patch) | |
| tree | 249fa2203570136d3a2040ad612e6e86a516cd5f /scene/2d/audio_stream_player_2d.cpp | |
| parent | 28a4eec9a77bc797b7147be2453cdbe85cf47d7f (diff) | |
| download | redot-engine-e48c5daddfa70172c0eab57b8045a7087eec6e2c.tar.gz | |
Unify usage of GLOBAL/EDITOR_GET
Diffstat (limited to 'scene/2d/audio_stream_player_2d.cpp')
| -rw-r--r-- | scene/2d/audio_stream_player_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/audio_stream_player_2d.cpp b/scene/2d/audio_stream_player_2d.cpp index 85ec745aee..9ac3083718 100644 --- a/scene/2d/audio_stream_player_2d.cpp +++ b/scene/2d/audio_stream_player_2d.cpp @@ -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() { |
