snake even more easy
This commit is contained in:
parent
3bd7a7cd1f
commit
b895c66005
@ -68,7 +68,7 @@ public class Snake
|
||||
//Set Block
|
||||
MapUtil.QuickChangeBlockAt(_path.get(_index), 35, GetColor());
|
||||
|
||||
int back = _index - 9;
|
||||
int back = _index - 10;
|
||||
if (back < 0)
|
||||
back += _path.size();
|
||||
|
||||
@ -83,7 +83,7 @@ public class Snake
|
||||
//Set Block
|
||||
MapUtil.QuickChangeBlockAt(_path.get(newIndex), 35, GetColor());
|
||||
|
||||
back = newIndex - 9;
|
||||
back = newIndex - 10;
|
||||
if (back < 0)
|
||||
back += _path.size();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user