mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 09:48:02 +00:00
Adventure - Difficulty data storage fix
This commit is contained in:
@@ -282,6 +282,7 @@ public class AdventurePlayer implements Serializable, SaveFileContent {
|
|||||||
if (this.difficultyData.sellFactor == 0)
|
if (this.difficultyData.sellFactor == 0)
|
||||||
this.difficultyData.sellFactor = 0.2f;
|
this.difficultyData.sellFactor = 0.2f;
|
||||||
|
|
||||||
|
//BEGIN SPECIAL CASES
|
||||||
//Previously these were not being read from or written to save files, causing defaults to appear after reload
|
//Previously these were not being read from or written to save files, causing defaults to appear after reload
|
||||||
//Pull from config if appropriate
|
//Pull from config if appropriate
|
||||||
DifficultyData configuredDifficulty = null;
|
DifficultyData configuredDifficulty = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user