mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 22:04:24 +00:00
Game Config: don't copy palette vector (it's big)
This commit is contained in:
parent
9c1c442f31
commit
21254d5172
@ -477,11 +477,8 @@ void add_color_info(const game_config_view& v, bool build_defaults)
|
||||
|
||||
LOG_NG << "registered color range '" << id << "': " << team_rgb_range[id].debug();
|
||||
|
||||
// Ggenerate palette of same name;
|
||||
std::vector<color_t> tp = palette(team_rgb_range[id]);
|
||||
if(!tp.empty()) {
|
||||
team_rgb_colors.emplace(id, tp);
|
||||
}
|
||||
// Generate palette of same name;
|
||||
team_rgb_colors.emplace(id, palette(team_rgb_range[id]));
|
||||
|
||||
if(build_defaults && teamC["default"].to_bool()) {
|
||||
default_colors.push_back(*a1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user