Redraw the palette every time a side is switchted.

This updates the unit's team color for example.
This commit is contained in:
Fabian Müller 2012-07-22 11:25:29 +00:00
parent 6da230921a
commit 5fa7dc7f7c

View file

@ -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