-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 error on engine
modpack load
#1574
Conversation
@@ -16,7 +16,7 @@ | |||
from openage.util.fslike.union import UnionPath | |||
|
|||
|
|||
CURRENT_API_VERSION = "0.4.0" | |||
CURRENT_API_VERSION = "0.5.1" |
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.
we should import the global version id here, no?
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.
This was more of a test because I thought the API modpack might have been wrongly generated and caused the error in #1569 . But this was probably not the issue.
I don't think the modpack version should be bumped with every engine release btw. but maybe if there's a new version of the engine modpack, it should have the same version no as the current engine version.
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.
i might close this PR and think of something else to fix the issue
@@ -76,7 +76,7 @@ def create_modpack() -> Modpack: | |||
|
|||
mod_def = modpack.get_info() | |||
|
|||
mod_def.set_info("engine", "0.4.0", repo="openage") | |||
mod_def.set_info("engine", "0.5.1", versionstr="0.4.0", repo="openage") |
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.
here as well. should be a single source of truth?
Supreceded by #1574 |
Resolves #1569