diff --git a/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/separation/persistence.rs b/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/separation/persistence.rs index c35737d86..637722fa1 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/separation/persistence.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/ui_editor/commands/separation/persistence.rs @@ -97,8 +97,7 @@ fn write_separation_state_blocking(path: &Path, bytes: &[u8]) -> Result<(), Stri .unwrap_or(""), fs::metadata(path) .map(|metadata| metadata.len()) - .unwrap_or(0), - bytes.len() + .unwrap_or(0) ); Ok(()) }