forked from akanyan/STARTLINER
feat: internationalization
This commit is contained in:
@ -36,7 +36,7 @@ impl Profile {
|
||||
} else {
|
||||
Some(Keyboard::Chunithm(ChunithmKeyboard::default()))
|
||||
},
|
||||
patches: if meta.game == Game::Chunithm { Some(PatchSelection(BTreeMap::new())) } else { None }
|
||||
patches: Some(PatchSelection(BTreeMap::new()))
|
||||
},
|
||||
meta: meta.clone()
|
||||
};
|
||||
@ -78,6 +78,9 @@ impl Profile {
|
||||
} else {
|
||||
data.mu3_ini = Some(Mu3Ini::default());
|
||||
}
|
||||
if data.patches.is_none() {
|
||||
data.patches = Some(PatchSelection(BTreeMap::new()));
|
||||
}
|
||||
|
||||
Self::load_existing_mu3_ini(&data, &ProfileMeta { game, name: name.clone() })?;
|
||||
}
|
||||
|
Reference in New Issue
Block a user