mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Fix destroyed buildings generate income
This commit is contained in:
parent
00dc8df0de
commit
47b6c2608c
@ -41,7 +41,7 @@ class Income:
|
|||||||
BuildingIncome(
|
BuildingIncome(
|
||||||
tgo.obj_name,
|
tgo.obj_name,
|
||||||
tgo.category,
|
tgo.category,
|
||||||
len(list(tgo.statics)),
|
sum(1 for b in tgo.statics if b.alive),
|
||||||
REWARDS[tgo.category],
|
REWARDS[tgo.category],
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user