Skip to content

Commit

Permalink
Merge pull request #41 from kbatbouta/development
Browse files Browse the repository at this point in the history
Fixed a small bug with the quicksetup window.
  • Loading branch information
kbatbouta authored Feb 7, 2023
2 parents 1d1d6b3 + 6cb2d80 commit 3a31017
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Binary file modified 1.4/Assemblies/CombatAI.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion Source/Rule56/T4/Outputs/Keyed.generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public static TaggedString CombatAI_Quick_Welcome {
private static TaggedString _CombatAI_Quick_Welcome_Description = null;
/// <summary> Keyed string. key=<c>CombatAI.Quick.Welcome.Description</c>. inner text:
///
/// <code>This quick-setup page will help you setup CAI-5000's many different features!</code>
/// <code>This quick-setup page will help you quickly setup CAI-5000's different features!</code>
/// </summary>
public static TaggedString CombatAI_Quick_Welcome_Description {
get => _CombatAI_Quick_Welcome_Description != null ?
Expand Down
1 change: 1 addition & 0 deletions Source/Rule56/Window_QuickSetup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public override void DoWindowContents(Rect inRect)
if (Widgets.ButtonText(inRect.LeftHalf(), R.Keyed.CombatAI_Apply))
{
Finder.Settings.FinishedQuickSetup = true;
Finder.Settings.Write();
Close();
}
GUI.color = Color.red;
Expand Down

0 comments on commit 3a31017

Please sign in to comment.