mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[core] Don't request delta manifest if old == new
This commit is contained in:
parent
a55f75d5e8
commit
9c9fee8f11
|
@ -702,7 +702,8 @@ class LegendaryCore:
|
|||
self.lgd.save_manifest(game.app_name, new_manifest_data,
|
||||
version=new_manifest.meta.build_version)
|
||||
# also fetch optimized delta manifest (may not exist)
|
||||
if old_manifest and new_manifest and not (override_old_manifest or override_manifest or disable_delta):
|
||||
if old_manifest and new_manifest and not (override_old_manifest or override_manifest or disable_delta or
|
||||
old_manifest.meta.build_id == new_manifest.meta.build_id):
|
||||
delta_manifest_data = self.get_delta_manifest(randchoice(base_urls),
|
||||
old_manifest.meta.build_id,
|
||||
new_manifest.meta.build_id)
|
||||
|
|
Loading…
Reference in a new issue