Remove eprintln from 2d_screen_shake example (#15786)

# Objective

Remove debug print

## Solution

Remove it

## Testing

`cargo run --example 2d_screen_shake`
This commit is contained in:
Rob Parrett 2024-10-09 07:15:24 -07:00 committed by GitHub
parent 3f683c728a
commit 6f8f70b56d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -143,7 +143,7 @@ fn screen_shake(
let angle = (screen_shake.max_angle * shake).to_radians() * rng.gen_range(-1.0..1.0);
let offset_x = screen_shake.max_offset * shake * rng.gen_range(-1.0..1.0);
let offset_y = screen_shake.max_offset * shake * rng.gen_range(-1.0..1.0);
eprintln!("{} {}", offset_x, offset_y);
if shake > 0.0 {
for (mut camera, mut transform) in query.iter_mut() {
// Position