mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 06:04:59 +00:00
More tweaks from the Rubocop overlord
This commit is contained in:
@@ -128,7 +128,7 @@ def getPlayTime2(filename)
|
||||
data = fgetdw.call(file)
|
||||
return -1 if data != 0x61746164 # "data"
|
||||
datasize = fgetdw.call(file)
|
||||
time = (datasize * 1.0) / bytessec
|
||||
time = datasize.to_f / bytessec
|
||||
return time
|
||||
when 0x5367674F # "OggS"
|
||||
file.pos = 0
|
||||
|
||||
Reference in New Issue
Block a user