Fixed #4824 / Fixed #4827 / Fixed #4829

This commit is contained in:
Anuken
2021-03-01 09:45:31 -05:00
parent 4c9cda7e40
commit 5f83c92829
4 changed files with 11 additions and 6 deletions

View File

@@ -259,7 +259,7 @@ public class Block extends UnlockableContent{
if((consumesPower || outputsPower) && hasPower){
Tile tile = world.tile(x, y);
if(tile != null){
PowerNode.getNodeLinks(tile, this, other -> {
PowerNode.getNodeLinks(tile, this, player.team(), other -> {
PowerNode node = (PowerNode)other.block;
Draw.color(node.laserColor1, Renderer.laserOpacity * 0.5f);
node.drawLaser(tile.team(), x * tilesize + offset, y * tilesize + offset, other.x, other.y, size, other.block.size);