Use switch consistently in _notification (scene folder)
This commit is contained in:
parent
171021145d
commit
0f5455230c
127 changed files with 2853 additions and 2601 deletions
|
|
@ -162,6 +162,7 @@ void Joint2D::_notification(int p_what) {
|
|||
case NOTIFICATION_READY: {
|
||||
_update_joint();
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_EXIT_TREE: {
|
||||
if (joint.is_valid()) {
|
||||
_disconnect_signals();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue