cof: buildfix

This commit is contained in:
M. Sz 2021-02-25 20:25:39 +01:00
parent 15d30ffcce
commit b5fa6e77eb
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ func (c *COF) Duration() float64 {
milliseconds = 1000
)
frameDelay := milliseconds / c.SpeedToFPS()
frameDelay := milliseconds / c.FPS()
return float64(c.FramesPerDirection) * frameDelay
}