diff --git a/crates/horizon-client/examples/mob_ai_probe.rs b/crates/horizon-client/examples/mob_ai_probe.rs index 0601e6c6a..08ca01a43 100644 --- a/crates/horizon-client/examples/mob_ai_probe.rs +++ b/crates/horizon-client/examples/mob_ai_probe.rs @@ -659,7 +659,10 @@ fn main() -> horizon_client::Result<()> { } mobs.push(m); } - let mut player = s.player.map(|p| { + // Without a player of its own a scenario still has the oracle's, + // 5000 blocks east (Mob.checkDespawn draws for it). + let far = [f64::from(s.origin[0] + 5000), -60.0, f64::from(s.origin[1])]; + let mut player = Some(s.player.unwrap_or(far)).map(|p| { let position = Vec3::new(p[0], p[1], p[2]); PlayerView { position,