mirror of
https://github.com/amevarashi/RJW-Sexperience.git
synced 2024-08-14 23:54:08 +00:00
Fix setting initialization
This commit is contained in:
parent
9389369ccb
commit
97ea6c68d4
2 changed files with 9 additions and 2 deletions
|
@ -24,8 +24,8 @@ namespace RJWSexperience
|
|||
private float maxSingleLustChange = MaxSingleLustChangeDefault;
|
||||
private bool sexCanFillBuckets = SexCanFillBucketsDefault;
|
||||
private bool selectionLocked = selectionLockedDefault;
|
||||
private SettingsTabHistory history;
|
||||
private SettingsTabDebug debug;
|
||||
private SettingsTabHistory history = SettingsTabHistory.CreateDefault();
|
||||
private SettingsTabDebug debug = new SettingsTabDebug();
|
||||
|
||||
//Public read-only properties
|
||||
public float LustEffectPower => lustEffectPower;
|
||||
|
|
|
@ -41,6 +41,13 @@ namespace RJWSexperience.Settings
|
|||
public float VirginRatio => virginRatio;
|
||||
public bool SlavesBeenRapedExp => slavesBeenRapedExp;
|
||||
|
||||
public static SettingsTabHistory CreateDefault()
|
||||
{
|
||||
SettingsTabHistory history = new SettingsTabHistory();
|
||||
history.Reset();
|
||||
return history;
|
||||
}
|
||||
|
||||
public void Reset()
|
||||
{
|
||||
enableRecordRandomizer = EnableStatRandomizerDefault;
|
||||
|
|
Loading…
Reference in a new issue