Skip to content

Commit 430c0ab

Browse files
committed
[bugfix] Undo referee event changes too
1 parent 03279ac commit 430c0ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/app/controller/engine.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ func (e *Engine) UndoLastAction() {
6767
lastIndex := len(e.History) - 2
6868
if lastIndex >= 0 {
6969
*e.State = e.History[lastIndex].State
70+
e.RefereeEvents = e.History[lastIndex].RefereeEvents
7071
e.History = e.History[0:lastIndex]
7172
}
7273
}

0 commit comments

Comments
 (0)