mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Fix game support crash due to incorrect key
This commit is contained in:
parent
0a6e3237b1
commit
be8de45714
@ -98,11 +98,11 @@ class GameSupportResolver:
|
||||
return retval
|
||||
|
||||
def resolve(self, package: Package, history: List[str]) -> set[int]:
|
||||
key = package.id
|
||||
key: int = package.id
|
||||
print(f"Resolving for {key}", file=sys.stderr)
|
||||
|
||||
history = history.copy()
|
||||
history.append(key)
|
||||
history.append(package.getId())
|
||||
|
||||
if package.type == PackageType.GAME:
|
||||
return {package.id}
|
||||
|
Loading…
Reference in New Issue
Block a user