Skip to content

Commit

Permalink
Close menus upon loading the game
Browse files Browse the repository at this point in the history
  • Loading branch information
Shoes01 committed Apr 16, 2019
1 parent 2da9cb8 commit b855404
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions processors/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def process(self):

if _load_game:
load_game(self.world)
events.append({'close_popup_menu': True})
self.world.component_for_entity(1, MessageLogComponent).messages.append({'game_loaded': True})

if _new_map:
Expand Down

0 comments on commit b855404

Please sign in to comment.