mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2025-12-14 08:06:23 +08:00
Fix ETR Score sending
This commit is contained in:
@@ -93,7 +93,7 @@ class Score:
|
|||||||
'''分数有效性检查'''
|
'''分数有效性检查'''
|
||||||
if self.shiny_perfect_count < 0 or self.perfect_count < 0 or self.near_count < 0 or self.miss_count < 0 or self.score < 0 or self.time_played <= 0:
|
if self.shiny_perfect_count < 0 or self.perfect_count < 0 or self.near_count < 0 or self.miss_count < 0 or self.score < 0 or self.time_played <= 0:
|
||||||
return False
|
return False
|
||||||
if self.song.difficulty not in (0, 1, 2, 3):
|
if self.song.difficulty not in (0, 1, 2, 3, 4):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
all_note = self.all_note_count
|
all_note = self.all_note_count
|
||||||
|
|||||||
Reference in New Issue
Block a user