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