You can no longer have negative science per turn, even if you have a huge gold deficit (what does "negative science" even mean?)
This commit is contained in:
parent
83c235690a
commit
c3e0d6ac2c
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ class CivilizationInfo {
|
||||||
statsForTurn.culture += statsForTurn.happiness / 2
|
statsForTurn.culture += statsForTurn.happiness / 2
|
||||||
|
|
||||||
if (statsForTurn.gold < 0) statsForTurn.science += statsForTurn.gold
|
if (statsForTurn.gold < 0) statsForTurn.science += statsForTurn.gold
|
||||||
|
if(statsForTurn.science<0) statsForTurn.science=0f
|
||||||
return statsForTurn
|
return statsForTurn
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue