Skip to content

Commit

Permalink
temp fix INSTANT_YIELD_TYPE_TECH_RETROACTIVE giving every yield type (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
azum4roll authored Jul 6, 2024
1 parent 28ae7d5 commit 13683f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CvGameCoreDLL_Expansion2/CvPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25301,6 +25301,9 @@ void CvPlayer::doInstantYield(InstantYieldType iType, bool bCityFaith, GreatPers
}
case INSTANT_YIELD_TYPE_TECH_RETROACTIVE:
{
if (eYield != ePassYield)
continue;

iValue = iPassYield;
if (bEraScale)
iValue *= iEra;
Expand Down

0 comments on commit 13683f4

Please sign in to comment.