Reworked signal connection system, added support for Callable and Signal objects and made them default.
This commit is contained in:
parent
1a4be2cd8f
commit
69c95f4b4c
275 changed files with 3831 additions and 2948 deletions
|
|
@ -441,7 +441,7 @@ AudioStreamPlayer::AudioStreamPlayer() {
|
|||
setstop = false;
|
||||
use_fadeout = false;
|
||||
|
||||
AudioServer::get_singleton()->connect("bus_layout_changed", this, "_bus_layout_changed");
|
||||
AudioServer::get_singleton()->connect_compat("bus_layout_changed", this, "_bus_layout_changed");
|
||||
}
|
||||
|
||||
AudioStreamPlayer::~AudioStreamPlayer() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue