The load order of scripts is as following (as defined by game.script):
/metro/ui/announcement/announcement.script
/metro/ui/moneybar/moneybar.script
/metro/ui/briefing/briefing.script
/metro/ui/petitionbar/petitionbar.script
Moneybar when loading calls MAIN.$playerData.updateReputation();
In player.script updateReputation() we have:
if ($oldReputation < 0.890 && $data.$totalReputation >= 0.890)
then calling MAIN.$petitionbar.addTickerText
At this point however the petitionbar isn't loaded yet! So it's not possible to load a savegame with bad reputation without getting a script error.
It would be nice if Paradox, Colossal Order is still interested in detailed bug reports, anything reported here seems to go to /dev/null, this isn't nice.
/metro/ui/announcement/announcement.script
/metro/ui/moneybar/moneybar.script
/metro/ui/briefing/briefing.script
/metro/ui/petitionbar/petitionbar.script
Moneybar when loading calls MAIN.$playerData.updateReputation();
In player.script updateReputation() we have:
if ($oldReputation < 0.890 && $data.$totalReputation >= 0.890)
then calling MAIN.$petitionbar.addTickerText
At this point however the petitionbar isn't loaded yet! So it's not possible to load a savegame with bad reputation without getting a script error.
It would be nice if Paradox, Colossal Order is still interested in detailed bug reports, anything reported here seems to go to /dev/null, this isn't nice.