Fix error in AudioStreamPlayer2D
This commit is contained in:
parent
557f63d037
commit
305967c021
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ StringName AudioStreamPlayer2D::_get_actual_bus() {
|
|||
ERR_FAIL_COND_V(world_2d.is_null(), SceneStringName(Master));
|
||||
|
||||
PhysicsDirectSpaceState2D *space_state = PhysicsServer2D::get_singleton()->space_get_direct_state(world_2d->get_space());
|
||||
ERR_FAIL_COND_V(space_state, SceneStringName(Master));
|
||||
ERR_FAIL_NULL_V(space_state, SceneStringName(Master));
|
||||
PhysicsDirectSpaceState2D::ShapeResult sr[MAX_INTERSECT_AREAS];
|
||||
|
||||
PhysicsDirectSpaceState2D::PointParameters point_params;
|
||||
|
|
Loading…
Reference in a new issue