mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-22 03:48:21 -06:00
unset data_modified once save command is issued
This commit is contained in:
parent
884551089c
commit
63e26e3a5b
|
@ -295,6 +295,7 @@ fn process_state_changes(
|
|||
// Only save the chunk if it has been modified
|
||||
if chunk.data_modified {
|
||||
// log::debug!("issue save command");
|
||||
chunk.data_modified = false;
|
||||
io.send(IOCommand::SaveChunk {
|
||||
position,
|
||||
data: block_data.blocks.clone(),
|
||||
|
|
Loading…
Reference in a new issue