mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-22 10:54:19 -04:00
Fixed techs showing "0 turns" and yet not being researched
This commit is contained in:
parent
d6258c06d9
commit
c782af55ae
@ -280,8 +280,7 @@ class TechManager : IsPartOfGameInfoSerialization {
|
||||
val scienceSpent = researchOfTech(currentTechnology) + realOverflow
|
||||
if (scienceSpent >= costOfTech(currentTechnology)) {
|
||||
overflowScience = 0
|
||||
if (realOverflow != 0)
|
||||
addScience(realOverflow)
|
||||
addScience(realOverflow)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user