Hello,
When loading the Player.itp panel in the FireTuner,the "Research Progress" box to change the number of turns on your current technology research is stuck at the number of in-game turns.
I wonder if anyone could fix the code or make another function ?
Set:
Get:
Thank you.
When loading the Player.itp panel in the FireTuner,the "Research Progress" box to change the number of turns on your current technology research is stuck at the number of in-game turns.
I wonder if anyone could fix the code or make another function ?
Set:
Code:
function(value)
Players[g_TunerSelectedPlayer]:GetTechs():SetResearchProgress(value);
end
Get:
Code:
function()
if Players == nil or g_TunerSelectedPlayer == nil or Players[g_TunerSelectedPlayer] == nil or Players[g_TunerSelectedPlayer]:GetTechs() == nil then return 0; end
return Players[g_TunerSelectedPlayer]:GetTechs():GetTurnsLeft();
end
Thank you.