mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-26 22:42:41 -08:00
Merge pull request #3456 from DeltaNedas/mapsize
add @mapx/y to logic processor
This commit is contained in:
commit
08a50edb23
1 changed files with 2 additions and 0 deletions
|
|
@ -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("@ipt", instructionsPerTick);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue