mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-17 11:15:12 -04:00
fixed side of redstone_changed event not being translated to computer case's local side, closes #60
This commit is contained in:
parent
4b4a59258f
commit
0f7718dcb0
@ -155,7 +155,7 @@ abstract class Computer(isRemote: Boolean) extends Environment with ComponentInv
|
||||
|
||||
override protected def onRedstoneInputChanged(side: ForgeDirection) {
|
||||
super.onRedstoneInputChanged(side)
|
||||
computer.signal("redstone_changed", computer.address, Int.box(side.ordinal()))
|
||||
computer.signal("redstone_changed", computer.address, Int.box(toLocal(side).ordinal()))
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------- //
|
||||
|
Loading…
x
Reference in New Issue
Block a user