GameAttributes PlayerData should contain gaia
|Reported by:||elexis||Owned by:|
|Component:||UI & Simulation||Keywords:|
Description (last modified by )
Some maps (f.e. Northern Island) add a
null item to the playerData array of the gamesettings representing gaia while most other maps don't.
Similarly many places in the code have arrays with gaia in it, while other places don't, resulting array indices to be off by one often, f.e. in source:ps/trunk/binaries/data/mods/public/maps/random/rmgen/library.js
Instead every map should have a gaia item, which should not only remove the +1 / -1 index operations but also could allow mapmakers to add configuration for gaia (f.e. an AI).