Updated Planes to address index out of range

This commit is contained in:
barelyprofessional
2025-10-09 20:15:11 -05:00
parent 1503593cb1
commit aedcf0a4b6

View File

@@ -561,7 +561,7 @@ public class Planes : ICommand
}
else //this leaves rows 0-5 and columns 0-10, exactly what we need for the board
{
switch (planesBoards[useBoard][row, column])
switch (planesBoards[useBoard][row, column + counter])
{
case 0:
output += Air;