Fixed techs showing "0 turns" and yet not being researched

This commit is contained in:
yairm210 2025-05-31 21:55:47 +03:00
parent d6258c06d9
commit c782af55ae

View File

@ -280,7 +280,6 @@ class TechManager : IsPartOfGameInfoSerialization {
val scienceSpent = researchOfTech(currentTechnology) + realOverflow
if (scienceSpent >= costOfTech(currentTechnology)) {
overflowScience = 0
if (realOverflow != 0)
addScience(realOverflow)
}
}