Skip to content

Commit

Permalink
fix: issue with Green not dissapering
Browse files Browse the repository at this point in the history
  • Loading branch information
Uhutown committed Oct 7, 2024
1 parent a0a8fbb commit 14aa54e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public void deserializeClient(final ReadBuffer buffer) {
break;
}
case SEND_PW_UPDATE: {
colorUpdates.accept(grid.readUpdateNetwork(buffer, false));
colorUpdates.accept(grid.readUpdateNetwork(buffer, true));
break;
}
case PW_REQUEST_RESPONSE: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@ protected void updateToNet(final SignalBoxPathway pathway) {
buffer.putInt(nodes.size() + protectionWayNodes.size());
nodes.forEach(node -> {
node.getPoint().writeNetwork(buffer);
node.writeUpdateNetwork(buffer);
node.writeNetwork(buffer);
});
protectionWayNodes.forEach(node -> {
node.getPoint().writeNetwork(buffer);
node.writeUpdateNetwork(buffer);
node.writeNetwork(buffer);
});
OpenSignalsMain.network.sendTo(tile.get(0).getPlayer(), buffer);
}
Expand Down

0 comments on commit 14aa54e

Please sign in to comment.