Browse Source

Changed tabs to spaces

(forgot to configure eclipse)
tags/2.8^2
EpicOrange 4 years ago
parent
commit
081e30ff84
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/com/droidquest/items/AutoWire.java

+ 2
- 2
src/com/droidquest/items/AutoWire.java View File

@@ -113,7 +113,7 @@ public class AutoWire extends Item {

if (animation == 1) {
if (portdevices[0].ports[0].myWire == null) { // Wiring
portdevices[0].ports[0].myWire = new Wire(chip.ports[0], portdevices[0].ports[0]);
portdevices[0].ports[0].myWire = new Wire(chip.ports[0], portdevices[0].ports[0]);
}
else { // Unwiring
portdevices[0].ports[0].myWire.Remove();
@@ -128,7 +128,7 @@ public class AutoWire extends Item {
if (animation >= 2 && animation <= 8) {
if (portdevices[0].ports[0].myWire != null) { // Wiring
if (portdevices[animation - 1].ports[0].myWire == null) {
portdevices[animation - 1].ports[0].myWire = new Wire(chip.ports[animation - 1], portdevices[animation - 1].ports[0]);
portdevices[animation - 1].ports[0].myWire = new Wire(chip.ports[animation - 1], portdevices[animation - 1].ports[0]);
}
}
else { // Unwiring

Loading…
Cancel
Save