mirror of
https://github.com/amevarashi/RJW-Sexperience.git
synced 2024-08-14 23:54:08 +00:00
New settings handling
This commit is contained in:
parent
fed4b54915
commit
8d49addd63
24 changed files with 309 additions and 233 deletions
|
@ -11,7 +11,7 @@ namespace RJWSexperience.SexHistory
|
|||
{
|
||||
private static readonly rjw.Modules.Shared.Logs.ILog log = LogManager.GetLogger<DebugLogProvider>("RecordRandomizer");
|
||||
|
||||
private static Settings.SettingsTabHistory Settings => SexperienceMod.Settings.History;
|
||||
private static Configurations Settings => SexperienceMod.Settings;
|
||||
|
||||
public static bool Randomize(Pawn pawn)
|
||||
{
|
||||
|
|
|
@ -367,7 +367,7 @@ namespace RJWSexperience.SexHistory.UI
|
|||
if (Widgets.ButtonInvisible(lockRect))
|
||||
{
|
||||
SoundDefOf.Click.PlayOneShotOnCamera();
|
||||
settings.SelectionLocked = !settings.SelectionLocked;
|
||||
settings.SelectionLocked.Value = !settings.SelectionLocked.Value;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue