mobs diagnostics: say why passenger is set outside the json! macro
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -371,7 +371,9 @@ impl Game<'_> {
|
||||
"vehicle": m.extra.mount,
|
||||
})),
|
||||
});
|
||||
state["passenger"] = serde_json::json!(m.extra.passenger);
|
||||
// Drawn seated (Entity.isPassenger); set apart because the
|
||||
// json! above is at the macro recursion limit.
|
||||
state["passenger"] = m.extra.passenger.into();
|
||||
state
|
||||
})
|
||||
.collect();
|
||||
|
||||
Reference in New Issue
Block a user