diff --git a/megameklab/src/megameklab/ui/dialog/PrintQueueDialog.java b/megameklab/src/megameklab/ui/dialog/PrintQueueDialog.java index 65b327797..d60c38d35 100644 --- a/megameklab/src/megameklab/ui/dialog/PrintQueueDialog.java +++ b/megameklab/src/megameklab/ui/dialog/PrintQueueDialog.java @@ -238,6 +238,9 @@ private void linkForce() { Game g = new Game(); Player p = new Player(1, "Nobody"); for (Entity e : getEntities()) { + if (e.getId() == -1) { + e.setId(g.getNextEntityId()); + } e.setOwner(p); g.addEntity(e); C3Util.wireC3(g, e);