mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
fixed crash on mission debriefing
This commit is contained in:
parent
77a07f6628
commit
26a7609875
@ -416,7 +416,7 @@ def choose_units(for_task: Task, factor: float, count: int, country: str) -> typ
|
||||
|
||||
index_start = min(idx, len(suitable_unittypes) - variety)
|
||||
index_end = min(idx + variety, len(suitable_unittypes))
|
||||
return set(suitable_unittypes[index_start:index_end])
|
||||
return list(set(suitable_unittypes[index_start:index_end]))
|
||||
|
||||
|
||||
def _validate_db():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user