This repository was archived by the owner on Jun 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +5
-1
lines changed
Expand file tree Collapse file tree 4 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 77using Splatoon . Gui ;
88using Splatoon . Gui . Scripting ;
99using Splatoon . Memory ;
10+ using Splatoon . SplatoonScripting ;
1011using Splatoon . Utils ;
1112using System . Diagnostics ;
1213using System . Runtime . InteropServices ;
@@ -62,6 +63,7 @@ void Draw()
6263 WasOpen = false ;
6364 Notify . Success ( "Configuration saved" . Loc ( ) ) ;
6465 if ( p . Config . verboselog ) p . Log ( "Configuration saved" ) ;
66+ ScriptingProcessor . Scripts . Each ( x => x . InternalData . UnconditionalDraw = false ) ;
6567 }
6668 return ;
6769 }
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ public void Save(bool suppressError = false)
8787 {
8888 //PluginLog.Debug($"Saving configuration for {x.InternalData.FullName}");
8989 Safe ( x . Controller . SaveConfig ) ;
90+ Safe ( x . Controller . SaveOverrides ) ;
9091 }
9192 }
9293 }
Original file line number Diff line number Diff line change 22<Project Sdk =" Microsoft.NET.Sdk" >
33 <PropertyGroup >
44 <Authors >NightmareXIV</Authors >
5- <Version >3.2.1.2 </Version >
5+ <Version >3.2.1.3 </Version >
66 </PropertyGroup >
77
88 <PropertyGroup >
Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ internal void DrawRegisteredElements()
165165 if ( ImGui . GetIO ( ) . KeyShift || x . Elements . All ( z => Controller . GetRegisteredElements ( ) . ContainsKey ( z . Key ) ) )
166166 {
167167 InternalData . Overrides = x ;
168+ Controller . ApplyOverrides ( ) ;
168169 Notify . Success ( "Import success" ) ;
169170 }
170171 else
You can’t perform that action at this time.
0 commit comments