mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 12:32:03 -04:00
Hopefully fixing index out of range errors for planes
This commit is contained in:
@@ -529,7 +529,7 @@ public class Planes : ICommand
|
|||||||
for (var column = -3; column < 10; column++) //plane starts out 3 space behind to give some space to the view,
|
for (var column = -3; column < 10; column++) //plane starts out 3 space behind to give some space to the view,
|
||||||
{
|
{
|
||||||
int useBoard;
|
int useBoard;
|
||||||
if (counter + column % 26 < 13) useBoard = 0; //0 - 12
|
if (counter + column % 20 < 10) useBoard = 0;
|
||||||
else useBoard = 1; //13-25
|
else useBoard = 1; //13-25
|
||||||
|
|
||||||
if (row == plane.Height && column == 2 && plane.JustHitMulti > 1)
|
if (row == plane.Height && column == 2 && plane.JustHitMulti > 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user