diff --git a/service_soundcloud.go b/service_soundcloud.go index 5897a1c..afe52f9 100644 --- a/service_soundcloud.go +++ b/service_soundcloud.go @@ -64,8 +64,8 @@ func (sc SoundCloud) NewRequest(user *gumble.User, url string) (string, error) { timesplit = strings.Split(timesplit[1], ":") multiplier := 1 for i := len(timesplit) - 1; i >= 0; i-- { - offset += strconv.Atoa(timesplit[i]) * multiplier - mutiplier *= 60 + offset += strconv.Atoi(timesplit[i]) * multiplier + multiplier *= 60 } fmt.Printf("Offset: " + strconv.Itoa(offset)) // DEBUG }