This commit is contained in:
AviiNL
2023-12-23 09:54:55 +01:00
parent 945cf75242
commit 5beec8d9b9
13 changed files with 69 additions and 47 deletions

View File

@@ -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;
};