Skip to content

Commit

Permalink
Update player.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Avelia-tr authored Jul 29, 2024
1 parent 0a6dc6e commit d9a55b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/states/player.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,16 +306,16 @@ func NewPlayer(beatMap *beatmap.BeatMap) *Player {

player.trySetupFail()

preempt := 0
preempt := 0.0

skipTime := 0.0
if settings.SKIP {
skipTime = beatMap.HitObjects[0].GetStartTime()
}

skipTime = 0
skipTime = 0.0

beatmapStart := 0
beatmapStart := 0.0
beatmapEnd := beatMap.HitObjects[len(beatMap.HitObjects)-1].GetEndTime() + float64(beatMap.Diff.Hit50)

if !math.IsInf(settings.END, 1) {
Expand Down

0 comments on commit d9a55b2

Please sign in to comment.