Skip to content

Commit 210daef

Browse files
committed
Updated the settings upgrade to only work when starting the new version for the first time. Duh.
Also updated the inspirationals table.
1 parent 5ffe6bf commit 210daef

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

SalemOptimizer/Inspirationals.tab

+3-3
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Seaweed Masque 800 450 650 450 750 750 3850 1
139139
Shed Skin 2500 2500 4250 9250 7
140140
Shellback Rattle 2500 2250 2850 3100 10700 10
141141
Shooting Star 1325 615 320 290 230 2780 1
142-
Simple Crucifix 350 700 400 350 40 1840 2
142+
Simple Crucifix 3 350 700 400 350 40 1840 2
143143
Singing Old Log 900 1000 2250 1900 2600 1500 400 10550 1
144144
Skybound Butterfly 1775 2635 2100 6510 1
145145
Slim Stickbug 4250 2500 2500 9250 7
@@ -148,7 +148,7 @@ Snowball 750 1350 1750 850 1440 6140 1
148148
Spiked Tail 3750 4150 1150 9050 10
149149
Spinning Top 650 850 900 250 2650 2
150150
Spooktacular 1750 1250 1000 1550 750 6300 1
151-
Spring Beauty 265 1450 665 280 380 3040 1
151+
Spring Beauty 2 265 1450 665 280 380 3040 1
152152
Square & Compass 1750 1500 2000 2500 1250 9000 8
153153
Steer Skull 725 385 900 825 675 425 550 4485 1
154154
Sterling Geode 500 750 1000 1250 3500 4
@@ -179,7 +179,7 @@ Weighty Wattle 2000 750 1000 1500 500 5750 1
179179
Whispering Snake Skull 5000 2000 7000 1
180180
Wicker Man 775 850 800 750 75 3250 1
181181
Wild Columbine 260 210 230 635 1000 2335 1
182-
Wild Garlic 200 550 400 390 450 200 2190 1
182+
Wild Garlic 2 200 550 400 390 450 200 2190 1
183183
Wild Oats 1500 1500 750 3750 1
184184
Windborne Kite 1250 1550 1550 1700 550 6600 5
185185
Wood Choppings 2 250 50 150 75 130 655 1

SalemOptimizer/Program.cs

+5-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ static class Program
1515
[STAThread]
1616
static void Main()
1717
{
18-
Settings.Default.Upgrade();
19-
Settings.Default.Save();
18+
if (string.IsNullOrEmpty(Settings.Default.AvailableInspirationals))
19+
{
20+
Settings.Default.Upgrade();
21+
Settings.Default.Save();
22+
}
2023

2124
Application.EnableVisualStyles();
2225
Application.SetCompatibleTextRenderingDefault(false);

SalemOptimizer/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.3.0.0")]
36-
[assembly: AssemblyFileVersion("1.3.0.0")]
35+
[assembly: AssemblyVersion("1.3.1.0")]
36+
[assembly: AssemblyFileVersion("1.3.1.0")]
3737
[assembly: AssemblyInformationalVersion("23. 1. 2015")]

0 commit comments

Comments
 (0)