Skip to content

Commit

Permalink
Fix the route not restarting when it reaches the end
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodewarrior committed Apr 13, 2022
1 parent ff72c49 commit 73a7e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SwiftSplit/CelesteSplitter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ class CelesteSplitter {
server.split()
}

nextEventIndex += 1
nextEventIndex = (nextEventIndex + 1) % routeConfig.route.count
continue route
}
}
Expand Down

0 comments on commit 73a7e9b

Please sign in to comment.