mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-13 17:28:52 -04:00
whoops, forgot color
#closes 3184 again
This commit is contained in:
parent
352c1cb09a
commit
d179c0c20d
@ -305,7 +305,7 @@ class Rack extends traits.PowerAcceptor with traits.Hub with traits.PowerBalance
|
||||
super.onRedstoneInputChanged(args)
|
||||
components.collect {
|
||||
case Some(mountable: RackMountable) if mountable.node != null =>
|
||||
val toLocalArgs = RedstoneChangedEventArgs(toLocal(args.side), args.oldValue, args.newValue)
|
||||
val toLocalArgs = RedstoneChangedEventArgs(toLocal(args.side), args.oldValue, args.newValue, args.color)
|
||||
mountable.node.sendToNeighbors("redstone.changed", toLocalArgs)
|
||||
}
|
||||
}
|
||||
|
@ -205,7 +205,7 @@ trait Computer extends Environment with ComponentInventory with Rotatable with B
|
||||
|
||||
override protected def onRedstoneInputChanged(args: RedstoneChangedEventArgs) {
|
||||
super.onRedstoneInputChanged(args)
|
||||
val toLocalArgs = RedstoneChangedEventArgs(toLocal(args.side), args.oldValue, args.newValue)
|
||||
val toLocalArgs = RedstoneChangedEventArgs(toLocal(args.side), args.oldValue, args.newValue, args.color)
|
||||
machine.node.sendToNeighbors("redstone.changed", toLocalArgs)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user