forked from Hay1tsme/artemis
wacca: fix tabbing error in util_put_items
This commit is contained in:
parent
154ccbdae5
commit
402e753469
@ -1074,17 +1074,17 @@ class WaccaBase:
|
|||||||
old_score = self.data.score.get_best_score(
|
old_score = self.data.score.get_best_score(
|
||||||
user_id, item.itemId, item.quantity
|
user_id, item.itemId, item.quantity
|
||||||
)
|
)
|
||||||
if not old_score:
|
if not old_score:
|
||||||
self.data.score.put_best_score(
|
self.data.score.put_best_score(
|
||||||
user_id,
|
user_id,
|
||||||
item.itemId,
|
item.itemId,
|
||||||
item.quantity,
|
item.quantity,
|
||||||
0,
|
0,
|
||||||
[0] * 5,
|
[0] * 5,
|
||||||
[0] * 13,
|
[0] * 13,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
)
|
)
|
||||||
|
|
||||||
if item.quantity == 0:
|
if item.quantity == 0:
|
||||||
item.quantity = WaccaConstants.Difficulty.HARD.value
|
item.quantity = WaccaConstants.Difficulty.HARD.value
|
||||||
|
Loading…
Reference in New Issue
Block a user