Skip to content

Commit

Permalink
[bugfix] Do not delete the history on game reset
Browse files Browse the repository at this point in the history
  • Loading branch information
g3force committed Aug 26, 2018
1 parent 9284169 commit 3513bd2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/app/controller/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ func (e *Engine) ResetGame() {
e.State.TeamState[TeamBlue].TimeoutsLeft = e.config.Normal.Timeouts
e.State.TeamState[TeamYellow].TimeoutsLeft = e.config.Normal.Timeouts
e.RefereeEvents = []RefereeEvent{}
e.History = History{}
}

// Tick updates the times of the state and removes cards, if necessary
Expand Down

0 comments on commit 3513bd2

Please sign in to comment.