Skip to content

Commit

Permalink
Fixed issue that caused multiple themes getting written in the same line
Browse files Browse the repository at this point in the history
  • Loading branch information
LMH01 committed Mar 9, 2023
1 parent 447f4a3 commit 6b738fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
- Hardware Feature: need internet was not applied when hardware feature was added
- Hardware Feature import/export: NEEDINTERNET parameter was not properly read
- Platform import/export: STARTPLATFORM parameter was not properly read
- Theme import: When multiple themes where imported simultaneously they where all written in the same line in the german theme file

## [v4.8.0](https://github.com/LMH01/MGT2_Mod_Tool/releases/tag/v4.8.0) (Latest Version)

Expand Down
1 change: 1 addition & 0 deletions docs/changelog_dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Bug fixes
- Fixed #132 - Genre import: Good/bad gameplay features, and good themes where not imported correctly
- Fixed #133 - Licence import/export: Release year was not read properly
- Theme import: When multiple themes where imported simultaneously they where all written in the same line in the german theme file

## [v4.9.0-beta6]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ public void editTextFiles(List<AbstractBaseContent> contents, ContentAction acti
}
}
if (action.equals(ContentAction.ADD_MOD)) {
bw.write("\r\n");
for (AbstractBaseContent content : contents) {
bw.write("\r\n");
if (content instanceof Theme) {
if (string.equals("GE")) {
bw.write(((Theme) content).getLine());
Expand Down

0 comments on commit 6b738fd

Please sign in to comment.