fix: score sounds appearing earlier fixed
This commit is contained in:
		@@ -70,6 +70,8 @@ public class Ball : Behaviour2D, IFirstFrameUpdate, ILoadContent, IPhysicsUpdate
 | 
			
		||||
            RigidBody.Velocity = information.Detected.Transform.Position.FromTo(information.Detector.Transform.Position).Normalized * RigidBody.Velocity.Magnitude;
 | 
			
		||||
        else
 | 
			
		||||
            RigidBody.Velocity = RigidBody.Velocity.Reflect(information.Normal);
 | 
			
		||||
 | 
			
		||||
        if (information.Detected.Transform.BehaviourController.GetBehaviour<ScoreWall>() is null)
 | 
			
		||||
            networkServer?.SendToAll(new BallUpdatePacket(this));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user