Skip to content

fix(load): fix the bug where the game crashes when no initial save games are provided#6

Open
tmsllmnn wants to merge 1 commit intoSoftware-engineering-team12:mainfrom
tmsllmnn:main
Open

fix(load): fix the bug where the game crashes when no initial save games are provided#6
tmsllmnn wants to merge 1 commit intoSoftware-engineering-team12:mainfrom
tmsllmnn:main

Conversation

@tmsllmnn
Copy link

After downloading the .zip of this project, running the game and choosing the "load" option in the menu, the game crashes, because a save file will only be created after saving a first run.
But even after adding the needed "game_file.txt' the result stays the same, because the game expects at least one save game:

Unhandled exception

The result handles this exception and continues the loading option with an alternative screen:

load.file_bugfix.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant