Redraw the palette every time a side is switchted.
This updates the unit's team color for example.
This commit is contained in:
parent
6da230921a
commit
5fa7dc7f7c
1 changed files with 1 additions and 0 deletions
|
@ -382,6 +382,7 @@ bool editor_controller::execute_command(hotkey::HOTKEY_COMMAND command, int inde
|
|||
case SIDE:
|
||||
gui_->set_team(index, true);
|
||||
gui_->set_playing_team(index);
|
||||
toolkit_->get_palette_manager()->draw(true);
|
||||
return true;
|
||||
case AREA:
|
||||
//TODO
|
||||
|
|
Loading…
Add table
Reference in a new issue