}
}
player.GetEntity().SetState(state);
+ player.Update(0);
}
void WorldSave::Write(const Player &player) const {
if (gzclose(file) != Z_OK) {
throw runtime_error("failed to read chunk file");
}
+ chunk.ScanActive();
chunk.InvalidateMesh();
chunk.ClearSave();
}