Skip to content

Commit

Permalink
Fix load map bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rnd-ash committed Apr 29, 2024
1 parent fe83d29 commit 16f0457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config_app/src/ui/map_editor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ pub fn load_map(map: &mut Map) -> Option<Result<(), String>> {
return Some(Err(format!("Z sizes differ! Map spec has changed. Saved map is no longer valid")));
}
// All OK!
map.data_eeprom = data.state;
map.data_modify = data.state;
return Some(Ok(()))
},
Err(e) => {
Expand Down

0 comments on commit 16f0457

Please sign in to comment.