Skip to content

Commit ac373c6

Browse files
committed
i should really test stuff before committing
If you installed previous commit, INSTALL THIS UPDATE NOW!!! - Conductor: fixed an AttributeError caused by the pybass3 upgrade - Game: tried my best at making the ms display delete extra characters that came from previous draw cycles - Installer: removed pybass3 warning
1 parent 57c9470 commit ac373c6

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

INSTALL.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,5 @@ echo "Installing required python dependencies... (there's like 3)"
88
pip install -r requirements.txt
99
echo "Linking ~/.local/shellrhythm/shellrhythm to ~/.local/bin/shellrhythm..."
1010
ln -s ~/.local/shellrhythm/shellrhythm ~/.local/bin/shellrhythm
11-
echo "Successfully installed, however, it may not fully work!"
12-
echo "(More informations are given in ./docs/PYBASS3_LINUX.md.)"
13-
#TODO: actually automatise this part! I am way too lazy to.
14-
echo "Either way, once that extra step is done, type \"shellrhythm\" from anywhere to begin!"
11+
echo "Successfully installed! You can now run the shellrhythm command to begin."
1512
echo "(If the command is not recognised, restart your terminal.)"

src/conductor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def stop(self):
103103
self.song.stop()
104104

105105
def getLength(self):
106-
return self.song._length_seconds
106+
return self.song.duration
107107

108108
def setOffset(self, newOffset):
109109
self.offset = newOffset

src/game.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def checkJudgement(self, note, noteNum, notHit = False):
169169
calc_pos = self.trueCalcPos(note["screenpos"][0], note["screenpos"][1])
170170
print_at(calc_pos[0], calc_pos[1], judgementShort[judgement])
171171
print_at(10, 1, judgementNames[judgement])
172-
print_at(25, 1, term.normal + str(round(remTime*1000, 4)) + "ms")
172+
print_at(25, 1, term.normal + str(round(remTime*1000, 4)) + "ms ")
173173

174174
if judgement == 5:
175175
self.missesCount += 1
@@ -205,7 +205,7 @@ def checkJudgement(self, note, noteNum, notHit = False):
205205
calc_pos = self.trueCalcPos(note["screenpos"][0], note["screenpos"][1])
206206
print_at(calc_pos[0], calc_pos[1], judgementShort[judgement])
207207
print_at(10, 1, judgementNames[judgement])
208-
print_at(25, 1, term.normal + str(round(remTime*1000, 4)) + "ms")
208+
print_at(25, 1, term.normal + str(round(remTime*1000, 4)) + "ms ")
209209
return True
210210

211211
def getSongEndTime(self):

0 commit comments

Comments
 (0)