rename ItemForShip to DataForShip for consistency
[fleet.git] / ships / Choice.ship
index 28531dd..0b084f3 100644 (file)
@@ -63,7 +63,7 @@ output ports.
 == Fleeterpreter ====================================================
 private Packet selector;
 public void service() {
-  if (!box_out1.readyForItemFromShip() || !box_out2.readyForItemFromShip()) return;
+  if (!box_out1.readyForDataFromShip() || !box_out2.readyForDataFromShip()) return;
   if (selector == null && !box_in.dataReadyForShip()) return;
   if (selector == null) selector = box_in.removePacketForShip();
   String port = selector.destination.getDestinationName();