Fixed #9566
This commit is contained in:
@@ -706,7 +706,7 @@ public class LExecutor{
|
|||||||
int address = exec.numi(position);
|
int address = exec.numi(position);
|
||||||
Building from = exec.building(target);
|
Building from = exec.building(target);
|
||||||
|
|
||||||
if(from instanceof MemoryBuild mem && (exec.privileged || from.team == exec.team) && address >= 0 && address < mem.memory.length){
|
if(from instanceof MemoryBuild mem && (exec.privileged || (from.team == exec.team && !mem.block.privileged)) && address >= 0 && address < mem.memory.length){
|
||||||
mem.memory[address] = exec.num(value);
|
mem.memory[address] = exec.num(value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user