diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2022-12-26 14:29:13 -0700 |
---|---|---|
committer | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2022-12-26 14:50:15 -0700 |
commit | 3691f3a2963c77dbd7b469b4b90ca79b61014d43 (patch) | |
tree | 0808dcaec8ff3177367d048103874a17fed63acc /launcher/minecraft/mod/WorldSave.cpp | |
parent | b2082bfde7149a5596fe8a467659699ad569f932 (diff) | |
download | PrismLauncher-3691f3a2963c77dbd7b469b4b90ca79b61014d43.tar.gz PrismLauncher-3691f3a2963c77dbd7b469b4b90ca79b61014d43.tar.bz2 PrismLauncher-3691f3a2963c77dbd7b469b4b90ca79b61014d43.zip |
fix: cleanup and suggested changes
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/minecraft/mod/WorldSave.cpp')
-rw-r--r-- | launcher/minecraft/mod/WorldSave.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/launcher/minecraft/mod/WorldSave.cpp b/launcher/minecraft/mod/WorldSave.cpp index 9a626fc1..7123f512 100644 --- a/launcher/minecraft/mod/WorldSave.cpp +++ b/launcher/minecraft/mod/WorldSave.cpp @@ -27,7 +27,6 @@ void WorldSave::setSaveFormat(WorldSaveFormat new_save_format) { QMutexLocker locker(&m_data_lock); - m_save_format = new_save_format; } @@ -35,11 +34,10 @@ void WorldSave::setSaveDirName(QString dir_name) { QMutexLocker locker(&m_data_lock); - m_save_dir_name = dir_name; } bool WorldSave::valid() const { - return m_save_format != WorldSaveFormat::INVALID; -}
\ No newline at end of file + return m_save_format != WorldSaveFormat::INVALID; +} |