Increased HackedNPC specs & reverted accidental change

This commit is contained in:
simon
2018-12-23 11:54:47 -05:00
parent 84ca3acb52
commit af4ddbdd89
2 changed files with 4 additions and 4 deletions

View File

@@ -108,8 +108,8 @@ public class CubotLidar extends HardwareModule {
//Write map data to the location specified by register X
int i = getCpu().getRegisterSet().getRegister("X").getValue();
for (int x = 0; x < unit.getWorld().getWorldSize(); x++) {
for (int y = 0; y < unit.getWorld().getWorldSize(); y++) {
for (int y = 0; y < unit.getWorld().getWorldSize(); y++) {
for (int x = 0; x < unit.getWorld().getWorldSize(); x++) {
getCpu().getMemory().set(i++, mapInfo[x][y]);
}
}