[1.0.3.80] GameInfo.HandicapInfos is not updated with mod information

snarko

DLLer
Joined
Dec 9, 2003
Messages
1,512
Location
Sweden
Original discussion thread.

When you load a mod GameInfo.HandicapInfos does not seem to get updated. The database get updated and the information in the DLL get updated but GameInfo.HandicapInfos still refer to the original unmodded information.

This can be seen very easily by changing the barbarian bonus and then looking at the combat odds against a barbarian. The strength value will be correct for the new bonus but it will still tell you that you have the old bonus. That part is calling GameInfo.HandicapInfos[Game:GetHandicapType()].BarbarianBonus which returns the original unmodded value.

Other HandicapInfos values are not updated either.
 
Back
Top Bottom