Lane difficulty added
This commit is contained in:
@@ -42,6 +42,9 @@ void saveSettings() {
|
||||
preferences.putULong("maxTime", maxTimeBeforeReset);
|
||||
preferences.putULong("maxTimeDisplay", maxTimeDisplay);
|
||||
preferences.putUInt("gamemode", gamemode);
|
||||
preferences.putUInt("laneConfigType", laneConfigType);
|
||||
preferences.putUInt("lane1DifficultyType", lane1DifficultyType);
|
||||
preferences.putUInt("lane2DifficultyType", lane2DifficultyType);
|
||||
preferences.end();
|
||||
}
|
||||
|
||||
@@ -50,6 +53,9 @@ void loadSettings() {
|
||||
maxTimeBeforeReset = preferences.getULong("maxTime", 300000);
|
||||
maxTimeDisplay = preferences.getULong("maxTimeDisplay", 20000);
|
||||
gamemode = preferences.getUInt("gamemode", 0);
|
||||
laneConfigType = preferences.getUInt("laneConfigType", 0);
|
||||
lane1DifficultyType = preferences.getUInt("lane1DifficultyType", 0);
|
||||
lane2DifficultyType = preferences.getUInt("lane2DifficultyType", 0);
|
||||
preferences.end();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user