mirror of
https://github.com/PaiGramTeam/PamGram.git
synced 2024-11-16 03:55:26 +00:00
🐛 Fix challenge cannot query floors which passed with 0 rounds
This commit is contained in:
parent
df2fb82487
commit
a8152d9804
@ -186,7 +186,7 @@ class ChallengePlugin(Plugin):
|
||||
floor_data = None
|
||||
if not floor_data:
|
||||
raise AbyssUnlocked()
|
||||
if floor_data.is_fast or floor_data.round_num == 0:
|
||||
if floor_data.is_fast:
|
||||
raise AbyssFastPassed()
|
||||
render_data = {
|
||||
"floor": floor_data,
|
||||
@ -295,7 +295,7 @@ class ChallengePlugin(Plugin):
|
||||
return None
|
||||
if not floor_data:
|
||||
return None
|
||||
if floor_data.is_fast or floor_data.round_num == 0:
|
||||
if floor_data.is_fast:
|
||||
raise AbyssFastPassed()
|
||||
render_data.update(self.get_floor_data(abyss_data, floor))
|
||||
return [
|
||||
|
Loading…
Reference in New Issue
Block a user