diff --git a/KfChatDotNetBot/Commands/KasinoGambaCommands.cs b/KfChatDotNetBot/Commands/KasinoGambaCommands.cs index 1cf11cf..7854d81 100644 --- a/KfChatDotNetBot/Commands/KasinoGambaCommands.cs +++ b/KfChatDotNetBot/Commands/KasinoGambaCommands.cs @@ -564,26 +564,30 @@ public class Planes : ICommand } else //this leaves rows 0-5 and columns 0-10, exactly what we need for the board { + if (column + counter < 0 && useBoard == 1) + { + useBoard -= 1; + } + if (column + counter < 0 && useBoard == 0) { output += Air; } - else if (column + counter < 0 && useBoard == 1) + else { - useBoard -= 1; - } - logger.Info($"Attempting to get planeboard info while generating main frames. Board: {useBoard} | Row: {row} | Column: {column} | Counter: {counter}"); - switch (planesBoards[useBoard][row, (column+counter)%10]) - { - case 0: - output += Air; - break; - case 1: - output += Bomb; - break; - case 2: - output += Multi; - break; + logger.Info($"Attempting to get planeboard info while generating main frames. Board: {useBoard} | Row: {row} | Column: {column} | Counter: {counter}"); + switch (planesBoards[useBoard][row, (column+counter)%10]) + { + case 0: + output += Air; + break; + case 1: + output += Bomb; + break; + case 2: + output += Multi; + break; + } } } }