[BETA] GameInfo cache is not reloaded after being used by PreGame

whoward69

DLL Minion
Joined
May 30, 2011
Messages
8,727
Location
Near Portsmouth, UK
It would appear that tables being used by the PreGame code are not being reloaded into the GameInfo cache when mods are loaded

Code:
> GameInfo.HandicapInfos[4].GoodyHutTechRefundPercent
 WorldView: _cmdr = {GameInfo.HandicapInfos[4].GoodyHutTechRefundPercent}:1:  Cannot find key - GoodyHutTechRefundPercent
> for row in DB.Query("SELECT GoodyHutTechRefundPercent FROM HandicapInfos WHERE ID=4") do print(row.GoodyHutTechRefundPercent) end
 WorldView: 40

New GoodyHutTechRefundPercent column is not available via GameInfo but is definitely in the database - this only affects certain tables and it seems to be those used by the PreGame code
 
Not sure I follow... What is the problem here? If you can start a game and give the devs a save demonstrating the problem following the missing coloumn, that would help them fix it.:)
 
Back
Top Bottom