game: rework of teammapdata functions