Skip to content

Commit

Permalink
game-flow: fix setting the NG+ flag
Browse files Browse the repository at this point in the history
Resolves #2474. The check for the last level only happens in the
`level_complete` event, which will be followed with an exit to title
anyway.
  • Loading branch information
rr- committed Feb 10, 2025
1 parent 80cd32e commit 360c1cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/tr1/ship/cfg/TR1X_gameflow.json5
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@
{"type": "display_picture", "path": "data/images/credits_2.webp", "display_time": 7.5, "fade_in_time": 1.0, "fade_out_time": 1.0},
{"type": "display_picture", "path": "data/images/credits_3.webp", "display_time": 7.5, "fade_in_time": 1.0, "fade_out_time": 1.0},
{"type": "total_stats", "background_path": "data/images/install.webp"},
{"type": "exit_to_title"},
{"type": "level_complete"},
],
"injections": [
"data/injections/pyramid_fd.bin",
Expand Down
2 changes: 1 addition & 1 deletion data/tr2/ship/cfg/TR2X_gameflow.json5
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@
{"type": "display_picture", "path": "data/credit07.pcx", "display_time": 15, "fade_in_time": 0.5, "fade_out_time": 0.5},
{"type": "display_picture", "path": "data/credit08.pcx", "display_time": 15, "fade_in_time": 0.5, "fade_out_time": 0.5},
{"type": "total_stats", "background_path": "data/end.pcx"},
{"type": "exit_to_title"},
{"type": "level_complete"},
],
"injections": [
"data/injections/house_itemrots.bin",
Expand Down

0 comments on commit 360c1cd

Please sign in to comment.