diff --git a/core/src/mindustry/world/blocks/logic/LogicBlock.java b/core/src/mindustry/world/blocks/logic/LogicBlock.java index 62de78e151..d5639562a5 100644 --- a/core/src/mindustry/world/blocks/logic/LogicBlock.java +++ b/core/src/mindustry/world/blocks/logic/LogicBlock.java @@ -305,8 +305,8 @@ public class LogicBlock extends Block{ } } - asm.putConst("@mapx", world.width()); - asm.putConst("@mapy", world.height()); + asm.putConst("@mapw", world.width()); + asm.putConst("@maph", world.height()); asm.putConst("@links", executor.links.length); asm.putConst("@ipt", instructionsPerTick);