Fix income not correctly calculated

- Fix the Income class to correctly count the income with the recent ground object refactoring
- Adjust the Factory income from 10 to 2.5 as we now have 4 units instead of 1 as with v5.2

closes #2207
This commit is contained in:
RndName
2022-05-07 18:08:26 +02:00
parent 244425381d
commit 00dc8df0de
2 changed files with 12 additions and 16 deletions

View File

@@ -11,7 +11,7 @@ REWARDS = {
"farp": 1,
# TODO: Should generate no cash once they generate units.
# https://github.com/dcs-liberation/dcs_liberation/issues/1036
"factory": 10,
"factory": 2.5,
"oil": 10,
"derrick": 8,
"village": 0.25,