diff options
Diffstat (limited to 'source/WindowsFormsApplication1/Shiftorium.cs')
| -rw-r--r-- | source/WindowsFormsApplication1/Shiftorium.cs | 6 |
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. } |
