Fix destroyed buildings generate income

This commit is contained in:
RndName 2022-05-07 18:24:12 +02:00
parent 00dc8df0de
commit 47b6c2608c
No known key found for this signature in database
GPG Key ID: 5EF516FD9537F7C0

View File

@ -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],
) )
) )