forked from SilverStudioGames/WTS
skip unnecessary lambda
(cherry picked from commit 94a6f9302b21712f90b84bca8318559c789a55b5)
This commit is contained in:
parent
671c4a577f
commit
200760471f
@ -9,9 +9,9 @@ init python:
|
||||
elif current_sorting == "Price (Desc)":
|
||||
item = sorted(item, key=lambda x: x.price, reverse=True)
|
||||
if sortby == "Lewdness (Asc)":
|
||||
item = sorted(item, key=lambda x: get_outfit_score(x), reverse=False)
|
||||
item = sorted(item, key=get_outfit_score, reverse=False)
|
||||
elif current_sorting == "Lewdness (Desc)":
|
||||
item = sorted(item, key=lambda x: get_outfit_score(x), reverse=True)
|
||||
item = sorted(item, key=get_outfit_score, reverse=True)
|
||||
return item
|
||||
|
||||
label shop_dress:
|
||||
|
Loading…
Reference in New Issue
Block a user