diff options
| author | Rylan <[email protected]> | 2017-03-12 11:19:49 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-03-12 11:19:49 -0400 |
| commit | 11da99a43bb3225ebd5fc82cb4765309804f8eba (patch) | |
| tree | 980fdd6b30610002e7fabc8ce084438b7111c25c /ShiftOS.WinForms/Applications/ShiftLotto.cs | |
| parent | 01420ff329ab1819f1be1ea444c46785328b44cb (diff) | |
| parent | 5a8cb0cdf76d65e096bd9aeda6ee9c6246a31134 (diff) | |
| download | shiftos_thereturn-11da99a43bb3225ebd5fc82cb4765309804f8eba.tar.gz shiftos_thereturn-11da99a43bb3225ebd5fc82cb4765309804f8eba.tar.bz2 shiftos_thereturn-11da99a43bb3225ebd5fc82cb4765309804f8eba.zip | |
Merge pull request #110 from AShifter/master
I don't think Michael liked ShiftLotto codepoint limits
Diffstat (limited to 'ShiftOS.WinForms/Applications/ShiftLotto.cs')
| -rw-r--r-- | ShiftOS.WinForms/Applications/ShiftLotto.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/Applications/ShiftLotto.cs b/ShiftOS.WinForms/Applications/ShiftLotto.cs index 33f357f..5ab8154 100644 --- a/ShiftOS.WinForms/Applications/ShiftLotto.cs +++ b/ShiftOS.WinForms/Applications/ShiftLotto.cs @@ -82,7 +82,7 @@ namespace ShiftOS.WinForms.Applications int codePoints = Convert.ToInt32(Math.Round(cpUpDown.Value, 0)); int difficulty = Convert.ToInt32(Math.Round(difUpDown.Value, 0)); - if (SaveSystem.CurrentSave.Codepoints <= 1) + if (SaveSystem.CurrentSave.Codepoints <= 9) { Infobox.Show("Not enough Codepoints", "You do not have enough Codepoints to use ShiftLotto!"); } @@ -122,6 +122,8 @@ namespace ShiftOS.WinForms.Applications // Remove Codepoints SaveSystem.TransferCodepointsToVoid(jackpot); + + // Infobox Infobox.Show("YOU FAILED!", "Sorry! " + jackpot.ToString() + " CP has been removed from your account."); } |
