Move world cache report to presentation adapter

Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
2026-11-04 15:54:53 +03:00
parent 375fdf2d80
commit cb73cb7ccc
4 changed files with 39 additions and 23 deletions
+2 -1
View File
@@ -30,6 +30,7 @@ mod smoke;
pub use airdef_core::sim;
mod scenario;
mod wave;
mod world_view;
use sim::{Class, DroneKind, Ground, Out, Sam, SamKind, Sim};
const ITEMS: [&str; sim::catalog::INVENTORY_COUNT] = sim::catalog::INVENTORY;
@@ -2546,7 +2547,7 @@ impl Mod for AirDef {
self.sim.strikes.stunned,
self.sim.strikes.missed,
self.sim.strikes.shot_down,
self.ground.world.text()
world_view::text(&self.ground.world)
)),
_ => return Err(help()),
};