Skip to content

Commit

Permalink
Fixed play_controller not joining current event context
Browse files Browse the repository at this point in the history
Was broken when I moved the GUI2 drawing trigger code to global scope probably.
  • Loading branch information
Vultraz committed Jul 26, 2017
1 parent 3d8a9cf commit a87fc55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/play_controller.cpp
Expand Up @@ -176,6 +176,8 @@ play_controller::play_controller(const config& level, saved_game& state_of_game,

persist_.start_transaction();

join();

game_config::add_color_info(level);
hotkey::deactivate_all_scopes();
hotkey::set_scope_active(hotkey::SCOPE_GAME);
Expand Down

0 comments on commit a87fc55

Please sign in to comment.