mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
I gotta stop making commits before I check them
This commit is contained in:
@@ -530,23 +530,17 @@ class Player:
|
|||||||
return
|
return
|
||||||
|
|
||||||
note = self.other_notes[0]
|
note = self.other_notes[0]
|
||||||
if note.hit_ms < current_ms:
|
if (note.hit_ms <= current_ms):
|
||||||
if note.type != 8:
|
|
||||||
if len(self.other_notes) > 1:
|
|
||||||
tail = self.other_notes[1]
|
|
||||||
if tail.hit_ms <= current_ms:
|
|
||||||
self.other_notes.popleft()
|
|
||||||
self.other_notes.popleft()
|
|
||||||
self.is_drumroll = False
|
|
||||||
self.is_balloon = False
|
|
||||||
else:
|
|
||||||
if len(self.other_notes) >= 1:
|
|
||||||
self.other_notes.popleft()
|
|
||||||
elif (note.hit_ms <= current_ms):
|
|
||||||
if note.type == 5 or note.type == 6:
|
if note.type == 5 or note.type == 6:
|
||||||
self.is_drumroll = True
|
self.is_drumroll = True
|
||||||
elif note.type == 7 or note.type == 9:
|
elif note.type == 7 or note.type == 9:
|
||||||
self.is_balloon = True
|
self.is_balloon = True
|
||||||
|
tail = self.other_notes[1]
|
||||||
|
if tail.hit_ms <= current_ms:
|
||||||
|
self.other_notes.popleft()
|
||||||
|
self.other_notes.popleft()
|
||||||
|
self.is_drumroll = False
|
||||||
|
self.is_balloon = False
|
||||||
|
|
||||||
def draw_note_manager(self, current_ms: float):
|
def draw_note_manager(self, current_ms: float):
|
||||||
"""Manages the draw_notes and removes if necessary"""
|
"""Manages the draw_notes and removes if necessary"""
|
||||||
|
|||||||
Reference in New Issue
Block a user