-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(facade): fix broken --load-last-game #5053
Conversation
It wasn't calling engine.run()
Hm, when testing this, I get a "Missing required module or dependency error" 🤔 Which is interesting as the last game I played before had the following modules enabled:
Not sure, where the game gets the information, that other modules such as |
It looks like it's determining "latest" by sorting on the last-modified-time of the manifest file: Line 68 in 142c44a
Do we not have a Do you get the same "missing required module" error on both this branch and develop? Is it the same with |
"Game" in the sense of gameplay or save game?
Yes and yes. |
hmm, |
I stumbled across a source of the "missing required module" error:
So invocation by gradle needs to be more like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now it works like a charm
It wasn't calling engine.run()
How to test
Run Terasology with the
--load-last-game
option.If running from gradle, that's
gradlew game --args="--homedir=. --load-last-game"
Check
--create-last-game
too.