We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90fb41b commit b6933bfCopy full SHA for b6933bf
1 file changed
src/system.go
@@ -3912,11 +3912,16 @@ func (s *System) runMatch() (reload bool) {
3912
// Render frame
3913
s.renderFrame()
3914
3915
- // Update system. Break if update returns false (game ended)
+ // Update system. Break if update returns false (engine shutdown).
3916
if !s.update() {
3917
break
3918
}
3919
3920
+ // Exit the replay match loop before EOF can reuse the last input sample.
3921
+ if s.replayFile != nil && s.replayFile.file == nil {
3922
+ break
3923
+ }
3924
+
3925
// If end match selected from menu
3926
if s.endMatch {
3927
if !s.motif.fadeOut.isActive() {
0 commit comments