Metronome fix, if statement

Not really a lot of ways you could do this without it being messy, oh well