mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
Update osz.py
This commit is contained in:
@@ -43,7 +43,7 @@ class OsuParser:
|
|||||||
self.bpm.append(math.floor(1 / points[1] * 1000 * 60))
|
self.bpm.append(math.floor(1 / points[1] * 1000 * 60))
|
||||||
self.osu_NoteList = self.note_data_to_NoteList(self.hit_objects)
|
self.osu_NoteList = self.note_data_to_NoteList(self.hit_objects)
|
||||||
for points in self.timing_points:
|
for points in self.timing_points:
|
||||||
if points[1] > 0:
|
if 0 < points[1] < 60000:
|
||||||
obj = TimelineObject()
|
obj = TimelineObject()
|
||||||
obj.hit_ms = points[0]
|
obj.hit_ms = points[0]
|
||||||
obj.bpm = math.floor(1 / points[1] * 1000 * 60)
|
obj.bpm = math.floor(1 / points[1] * 1000 * 60)
|
||||||
|
|||||||
Reference in New Issue
Block a user