Skip to content

Commit

Permalink
Fix exporting MUL files from MML
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelbraginskiy committed Oct 3, 2024
1 parent e41d9a8 commit a517a8a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions megameklab/src/megameklab/ui/dialog/PrintQueueDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a517a8a

Please sign in to comment.