Skip to content

Commit

Permalink
Copybara import of the project:
Browse files Browse the repository at this point in the history
--
a330ddc by Ethan Jackson <jackson.ethan.c@gmail.com>:

Update game_master.py - update_before_event not executing

update_before_event wasn't executing on GM components since its trying to execute the component dict instead of its values

COPYBARA_INTEGRATE_REVIEW=#9 from ethancjackson:patch-3 a330ddc
PiperOrigin-RevId: 591882114
Change-Id: Ia7772ab8eb8c911c5984bb16ee312aa410f13a91
  • Loading branch information
ethancjackson authored and Copybara-Service committed Dec 18, 2023
1 parent 93cd8b7 commit aa5a465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion concordia/environment/game_master.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def update_from_player(self, player_name: str, action_attempt: str):
lambda construct: construct.update_before_event(
f'{player_name}: {action_attempt}'
),
self._components,
self._components.values(),
)

for comp in self._components.values():
Expand Down

0 comments on commit aa5a465

Please sign in to comment.