Skip to content

Commit 3847e6e

Browse files
committed
Bugfix: Add game events to referee messages
1 parent ecb3405 commit 3847e6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/app/publish/messagegenerator.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ func (g *MessageGenerator) updateCommand() {
9191
func (g *MessageGenerator) StateToRefereeMessage(matchState *state.State) (r *state.Referee) {
9292
r = newRefereeMessage()
9393
r.DesignatedPosition = mapLocation(matchState.PlacementPos)
94+
r.GameEvents = matchState.GameEvents
9495
r.ProposedGameEvents = mapProposedGameEvents(matchState.ProposedGameEvents)
9596

9697
r.Command = mapCommand(matchState.Command)

0 commit comments

Comments
 (0)