mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-26 10:29:20 +01:00
Remove cheats. Make items opt-in.
This commit is contained in:
parent
bc4d808a4e
commit
bb42f35d7e
10 changed files with 34 additions and 49 deletions
|
|
@ -22,10 +22,10 @@ public partial class CustomizationDrawer
|
|||
var clan = _service.AwaitedService.GetName(CustomName.Clan);
|
||||
if (_withApply)
|
||||
{
|
||||
if (UiHelpers.DrawCheckbox("##applyGender", "Apply gender of this design.", _currentApply, out var applyGender, _locked))
|
||||
if (UiHelpers.DrawCheckbox("##applyGender", "Apply gender of this design.", ChangeApply.HasFlag(CustomizeFlag.Gender), out var applyGender, _locked))
|
||||
ChangeApply = applyGender ? ChangeApply | CustomizeFlag.Gender : ChangeApply & ~CustomizeFlag.Gender;
|
||||
ImGui.SameLine();
|
||||
if (UiHelpers.DrawCheckbox("##applyClan", "Apply clan of this design.", _currentApply, out var applyClan, _locked))
|
||||
if (UiHelpers.DrawCheckbox("##applyClan", "Apply clan of this design.", ChangeApply.HasFlag(CustomizeFlag.Clan), out var applyClan, _locked))
|
||||
ChangeApply = applyClan ? ChangeApply | CustomizeFlag.Clan : ChangeApply & ~CustomizeFlag.Clan;
|
||||
ImGui.SameLine();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue