Fix destroyed buildings generate income

This commit is contained in:
RndName
2022-05-07 18:24:12 +02:00
parent 00dc8df0de
commit 47b6c2608c

View File

@@ -41,7 +41,7 @@ class Income:
BuildingIncome(
tgo.obj_name,
tgo.category,
len(list(tgo.statics)),
sum(1 for b in tgo.statics if b.alive),
REWARDS[tgo.category],
)
)