Merge pull request #3456 from DeltaNedas/mapsize
add @mapx/y to logic processor
This commit is contained in:
@@ -305,6 +305,8 @@ public class LogicBlock extends Block{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
asm.putConst("@mapw", world.width());
|
||||||
|
asm.putConst("@maph", world.height());
|
||||||
asm.putConst("@links", executor.links.length);
|
asm.putConst("@links", executor.links.length);
|
||||||
asm.putConst("@ipt", instructionsPerTick);
|
asm.putConst("@ipt", instructionsPerTick);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user