d410e2c92d
build / mod (push) Failing after 18s
Preserve the diagnostic trigger, scenario, before/after logs and scope of equivalent counters. Update ground strike guidance, Windows acceptance status and profiler semantics. Co-authored-by: Codex <codex@openai.com>
19 lines
1.0 KiB
Diff
19 lines
1.0 KiB
Diff
diff --git a/airdef-mod/src/lib.rs b/airdef-mod/src/lib.rs
|
|
index 2255f57..f1da2c6 100644
|
|
--- a/airdef-mod/src/lib.rs
|
|
+++ b/airdef-mod/src/lib.rs
|
|
@@ -2338,7 +2338,12 @@ impl Mod for AirDef {
|
|
.unwrap_or(DVec3::new(p.x, p.y, p.z));
|
|
if *kind == "mix" {
|
|
let objects = self.objects(DVec3::new(p.x, p.y, p.z));
|
|
- self.sim.order_raid(&wave::WaveConfig::mix(count, dist), &objects, &mut out);
|
|
+ let mut wave = wave::WaveConfig::default();
|
|
+ wave.counts = [40; wave::KINDS.len()];
|
|
+ wave.dist = dist;
|
|
+ wave.approach = sim::Approach::AllSides;
|
|
+ wave.aim = sim::Aim::Smart;
|
|
+ self.sim.order_raid(&wave.order(), &objects, &mut out);
|
|
} else {
|
|
let kind = DroneKind::from_key(kind).ok_or(
|
|
"Тип: shahed, geran3, lancet, gerbera, kh101, kalibr, kh22, zircon, iskander, kinzhal, oreshnik или mix",
|