diff --git a/src/actor.rs b/src/actor.rs index 2e2894b..81c4151 100644 --- a/src/actor.rs +++ b/src/actor.rs @@ -32,7 +32,7 @@ impl Plugin for ActorPlugin { update_power, handle_wants_maxrotation, handle_wants_maxvelocity, - handle_wants_lookat, + handle_wants_lookat.run_if(alive), ), ); app.add_systems( @@ -567,7 +567,6 @@ fn handle_wants_lookat( let player_pos = if let Ok(player_pos) = q_playercam.get_single() { player_pos } else { - error!("Can't find player position"); return; };