mirror of https://github.com/a2-4am/wozardry
commit
03e7bdc116
|
@ -182,8 +182,8 @@ class Track(RawTrack):
|
|||
n += b << bit_index
|
||||
yield n
|
||||
|
||||
def rewind(self, bit_count):
|
||||
self.bit_index -= 1
|
||||
def rewind(self, bit_count=1):
|
||||
self.bit_index -= bit_count
|
||||
if self.bit_index < 0:
|
||||
self.bit_index = self.bit_count - 1
|
||||
self.revolutions -= 1
|
||||
|
|
Loading…
Reference in New Issue