diff options
| author | lempamo <[email protected]> | 2017-02-28 12:11:40 -0500 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-02-28 12:11:40 -0500 |
| commit | 8656337c5dc64bea29f330a51b362f0a6b85ef78 (patch) | |
| tree | 27d00ae0f0d2d97c6f629caa2864d2e32cde2bbe /ShiftOS.WinForms/Applications | |
| parent | 52b9cd9c8051a8d95587e3ccc3ee3220609bcc56 (diff) | |
| download | shiftos_thereturn-8656337c5dc64bea29f330a51b362f0a6b85ef78.tar.gz shiftos_thereturn-8656337c5dc64bea29f330a51b362f0a6b85ef78.tar.bz2 shiftos_thereturn-8656337c5dc64bea29f330a51b362f0a6b85ef78.zip | |
fixed snakey crashing bug
Diffstat (limited to 'ShiftOS.WinForms/Applications')
| -rw-r--r-- | ShiftOS.WinForms/Applications/ShiftSweeper.cs | 1 | ||||
| -rw-r--r-- | ShiftOS.WinForms/Applications/Snakey.cs | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/Applications/ShiftSweeper.cs b/ShiftOS.WinForms/Applications/ShiftSweeper.cs index 0b05bdf..aaeed3f 100644 --- a/ShiftOS.WinForms/Applications/ShiftSweeper.cs +++ b/ShiftOS.WinForms/Applications/ShiftSweeper.cs @@ -134,7 +134,6 @@ namespace ShiftOS.WinForms.Applications buttonE.Enabled = false; buttonM.Enabled = false; buttonH.Enabled = false; - gameplayed = true; makegrid(); } diff --git a/ShiftOS.WinForms/Applications/Snakey.cs b/ShiftOS.WinForms/Applications/Snakey.cs index c6f61e9..f210c9c 100644 --- a/ShiftOS.WinForms/Applications/Snakey.cs +++ b/ShiftOS.WinForms/Applications/Snakey.cs @@ -155,6 +155,7 @@ namespace ShiftOS.WinForms.Applications clearGame(); makeGrid(); } + snakemap = new int[10, 10]; snakemap[5, 5] = 2; tableLayoutPanel1.GetControlFromPosition(5, 5).BackgroundImage = Properties.Resources.SnakeyHeadL; for (int x = 6; x < 8; x++) |
