diff options
Diffstat (limited to 'ShiftOS.WinForms/Applications')
| -rw-r--r-- | ShiftOS.WinForms/Applications/Snakey.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ShiftOS.WinForms/Applications/Snakey.cs b/ShiftOS.WinForms/Applications/Snakey.cs index 72bc0cc..65cf829 100644 --- a/ShiftOS.WinForms/Applications/Snakey.cs +++ b/ShiftOS.WinForms/Applications/Snakey.cs @@ -116,7 +116,8 @@ namespace ShiftOS.WinForms.Applications ((PictureBox)tableLayoutPanel1.GetControlFromPosition(headX, headY)).Image = Properties.Resources.SnakeyBody; if (!extending) { - ((PictureBox)tableLayoutPanel1.GetControlFromPosition(tailX, tailY)).Image = Properties.Resources.SnakeyBG; + tail.Image = Properties.Resources.SnakeyBG; //mikey its here + tail.Refresh(); snakepartlist[newHeadX, newHeadY] = snakelength; bool splassigned = false; for (int s = snakelength; s > 0; s--) |
