Connect Engine: update color id when setting color
This commit is contained in:
parent
ec9397e30a
commit
a027f3f6ee
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ public:
|
|||
std::multimap<std::string, config> get_side_children();
|
||||
void set_side_children(std::multimap<std::string, config> children);
|
||||
int color() const { return color_; }
|
||||
void set_color(int color) { color_ = color; }
|
||||
void set_color(int color) { color_ = color; color_id_ = color_options_[color]; }
|
||||
int gold() const { return gold_; }
|
||||
void set_gold(int gold) { gold_ = gold; }
|
||||
int income() const { return income_; }
|
||||
|
|
Loading…
Add table
Reference in a new issue