mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-20 00:46:34 +00:00
Format Rust code using rustfmt
This commit is contained in:
parent
c7457cf0fd
commit
c8349005c3
1 changed files with 4 additions and 1 deletions
|
@ -263,7 +263,10 @@ pub unsafe fn save_states(module_accessor: &mut app::BattleObjectModuleAccessor)
|
||||||
// All articles have ID <= 0x25
|
// All articles have ID <= 0x25
|
||||||
(0..=0x25)
|
(0..=0x25)
|
||||||
// Don't remove crafting table
|
// Don't remove crafting table
|
||||||
.filter(|article_idx| !(fighter_kind == *FIGHTER_KIND_PICKEL && *article_idx == *FIGHTER_PICKEL_GENERATE_ARTICLE_TABLE))
|
.filter(|article_idx| {
|
||||||
|
!(fighter_kind == *FIGHTER_KIND_PICKEL
|
||||||
|
&& *article_idx == *FIGHTER_PICKEL_GENERATE_ARTICLE_TABLE)
|
||||||
|
})
|
||||||
.for_each(|article_idx| {
|
.for_each(|article_idx| {
|
||||||
if ArticleModule::is_exist(module_accessor, article_idx) {
|
if ArticleModule::is_exist(module_accessor, article_idx) {
|
||||||
let article: u64 = ArticleModule::get_article(module_accessor, article_idx);
|
let article: u64 = ArticleModule::get_article(module_accessor, article_idx);
|
||||||
|
|
Loading…
Reference in a new issue