Logging
This commit is contained in:
@@ -5,6 +5,7 @@ use bevy::ecs::{
|
||||
use clap::Parser;
|
||||
use guardian_commands::{ConsoleCommand, NamedCommand};
|
||||
use guardian_core::{components::*, dcs::text::TextMessage, srs::voice::VoiceMessage};
|
||||
use tracing::debug;
|
||||
|
||||
use crate::braa::Braa;
|
||||
|
||||
@@ -37,12 +38,12 @@ pub fn bogey_dope(
|
||||
};
|
||||
|
||||
let Ok((p_callsign, p_pos)) = player.get(*pilot) else {
|
||||
eprintln!("no player, died?");
|
||||
debug!("no player, died?");
|
||||
return;
|
||||
};
|
||||
|
||||
let Ok(a_callsign) = awacs.get(*operator) else {
|
||||
eprintln!("no awacs, they died?");
|
||||
debug!("no awacs, they died?");
|
||||
return;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user