Change SaveData identifier due to changed de/ser.

This commit is contained in:
Stephen Seo 2024-02-22 15:00:04 +09:00
parent f1badb79ca
commit 7fc185f614
1 changed files with 1 additions and 1 deletions

View File

@ -1749,7 +1749,7 @@ struct SaveData {
joining_particles: RotatingParticleSystem,
}
const SAVE_DATA_IDENTIFIER: [u8; 4] = [0x53, 0x41, 0x56, 0x45];
const SAVE_DATA_IDENTIFIER: [u8; 8] = [0x53, 0x41, 0x56, 0x45, 'V' as u8, 'e' as u8, 'r' as u8, 1];
impl SaveData {
pub fn deserialize(data: &[u8]) -> Result<(SaveData, usize), ()> {