fix(simulation): address PR #85 review — warnings and polish items
- Ticker rotation: document sliding-window semantics (vs modulus-aligned) - Ticker zone ID: add warning about Gauntlet vs production zone ID mismatch - Proof-room movement profile: respect archetype instead of hardcoding smuggler - Storyteller tie-break: use exact f32 equality (inputs are discrete integers) - Observer: .map().flatten() → .and_then() (clippy strict) - Content loader: remove dangling doc comment before section header - Tests: replace assert!(false, ...) with TODO comments in ignored tests - Tests: add frame limiter note on 302-update loop in tell expiry test Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -442,8 +442,7 @@ pub fn compute_observer_snapshot(
|
||||
// News ticker (#591): populate when player is in The Last Shift zone.
|
||||
let player_zone = zone_map
|
||||
.as_deref()
|
||||
.map(|zm| zm.zone_at(observer_pos.x, observer_pos.y, observer_pos.z))
|
||||
.flatten();
|
||||
.and_then(|zm| zm.zone_at(observer_pos.x, observer_pos.y, observer_pos.z));
|
||||
let current_ticker = if player_zone == Some(LAST_SHIFT_ZONE_ID) {
|
||||
ticker_pool
|
||||
.as_deref()
|
||||
|
||||
Reference in New Issue
Block a user