mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-09 10:29:02 +07:00
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
@ -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 New Issue
Block a user