Skip to content

Commit 3513bd2

Browse files
committed
[bugfix] Do not delete the history on game reset
1 parent 9284169 commit 3513bd2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/app/controller/engine.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ func (e *Engine) ResetGame() {
3535
e.State.TeamState[TeamBlue].TimeoutsLeft = e.config.Normal.Timeouts
3636
e.State.TeamState[TeamYellow].TimeoutsLeft = e.config.Normal.Timeouts
3737
e.RefereeEvents = []RefereeEvent{}
38-
e.History = History{}
3938
}
4039

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

0 commit comments

Comments
 (0)