Skip to content

Commit

Permalink
Fix monitor events using the wrong computer set
Browse files Browse the repository at this point in the history
Fixes #2010
  • Loading branch information
SquidDev committed Nov 15, 2024
1 parent f776b17 commit 63bdc25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ private void eachComputer(Consumer<IComputerAccess> fun) {
var monitor = getLoadedMonitor(x, y).getMonitor();
if (monitor == null) continue;

computers.forEach(fun);
monitor.computers.forEach(fun);
}
}
}
Expand Down

0 comments on commit 63bdc25

Please sign in to comment.