aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/Shiftorium.cs
diff options
context:
space:
mode:
authorMichaelTheShifter <[email protected]>2016-06-24 16:44:42 -0400
committerMichaelTheShifter <[email protected]>2016-06-24 16:44:51 -0400
commitecee91bc559e1c0d716a3032e371218812df61e7 (patch)
tree49acdb538b13bc3da89185413bc4096d4e6d81f7 /source/WindowsFormsApplication1/Shiftorium.cs
parent8ea0903788b02b352cc25c9b6f46d439bdb1356a (diff)
downloadshiftos-c-_theultimatehacker-ecee91bc559e1c0d716a3032e371218812df61e7.tar.gz
shiftos-c-_theultimatehacker-ecee91bc559e1c0d716a3032e371218812df61e7.tar.bz2
shiftos-c-_theultimatehacker-ecee91bc559e1c0d716a3032e371218812df61e7.zip
Loads of changes...
Custom shifter options using Lua, and other stuff.
Diffstat (limited to 'source/WindowsFormsApplication1/Shiftorium.cs')
-rw-r--r--source/WindowsFormsApplication1/Shiftorium.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/WindowsFormsApplication1/Shiftorium.cs b/source/WindowsFormsApplication1/Shiftorium.cs
index 9c281e9..ce9dbfc 100644
--- a/source/WindowsFormsApplication1/Shiftorium.cs
+++ b/source/WindowsFormsApplication1/Shiftorium.cs
@@ -77,7 +77,7 @@ namespace Shiftorium
btnhack.Hide();
}
}
- catch(Exception ex)
+ catch
{
lbcategory.Text = "No upgrades!";
}
@@ -132,12 +132,12 @@ namespace Shiftorium
lbupgradename.Text = upgrade.Name.Replace($" - {upgrade.Cost} CP", "");
lbudescription.Text = upgrade.Description;
btnbuy.Show();
- lbprice.Text = upgrade.Cost.ToString() + " CP";
+ lbprice.Text = (upgrade.Cost / API.CurrentSave.PriceDivider).ToString() + " CP";
picpreview.Image = upgrade.Preview;
selectedUpgrade = upgrade;
}
}
- } catch(Exception ex)
+ } catch
{
//do nothing.
}