diff --git a/rslib/src/deckconf/schema11.rs b/rslib/src/deckconf/schema11.rs index cf7a1abfe..1ddcc354c 100644 --- a/rslib/src/deckconf/schema11.rs +++ b/rslib/src/deckconf/schema11.rs @@ -212,7 +212,11 @@ impl From for DeckConf { c.other.insert("lapse".into(), val); } } - let other_bytes = serde_json::to_vec(&c.other).unwrap_or_default(); + let other_bytes = if c.other.is_empty() { + vec![] + } else { + serde_json::to_vec(&c.other).unwrap_or_default() + }; DeckConf { id: c.id,