fixed snakey crashing bug
This commit is contained in:
parent
52b9cd9c80
commit
8656337c5d
2 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,6 @@ namespace ShiftOS.WinForms.Applications
|
|||
buttonE.Enabled = false;
|
||||
buttonM.Enabled = false;
|
||||
buttonH.Enabled = false;
|
||||
gameplayed = true;
|
||||
makegrid();
|
||||
}
|
||||
|
||||
|
|
|
@ -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++)
|
||||
|
|
Reference in a new issue