snake bit is easier :)
This commit is contained in:
parent
c08b7c7b96
commit
58e049acf9
@ -68,7 +68,7 @@ public class Snake
|
||||
//Set Block
|
||||
MapUtil.QuickChangeBlockAt(_path.get(_index), 35, GetColor());
|
||||
|
||||
int back = _index - 8;
|
||||
int back = _index - 9;
|
||||
if (back < 0)
|
||||
back += _path.size();
|
||||
|
||||
@ -83,7 +83,7 @@ public class Snake
|
||||
//Set Block
|
||||
MapUtil.QuickChangeBlockAt(_path.get(newIndex), 35, GetColor());
|
||||
|
||||
back = newIndex - 8;
|
||||
back = newIndex - 9;
|
||||
if (back < 0)
|
||||
back += _path.size();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user