forked from SilverStudioGames/WTS
skip unnecessary lambda
This commit is contained in:
parent
01126edc4e
commit
49fe8f4902
@ -9,9 +9,9 @@ init python:
|
|||||||
elif current_sorting == "Price (Desc)":
|
elif current_sorting == "Price (Desc)":
|
||||||
item = sorted(item, key=lambda x: x.price, reverse=True)
|
item = sorted(item, key=lambda x: x.price, reverse=True)
|
||||||
if sortby == "Lewdness (Asc)":
|
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)":
|
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
|
return item
|
||||||
|
|
||||||
label shop_dress:
|
label shop_dress:
|
||||||
@ -112,7 +112,7 @@ label shop_dress_menu:
|
|||||||
$ curry = renpy.curry(execute_callbacks)(parcel_callbacks) if parcel_callbacks else None
|
$ curry = renpy.curry(execute_callbacks)(parcel_callbacks) if parcel_callbacks else None
|
||||||
$ parcel_callbacks = []
|
$ parcel_callbacks = []
|
||||||
$ Parcel(contents=[(k, 1) for k in store_cart], wait=transit_time, func=curry).send()
|
$ Parcel(contents=[(k, 1) for k in store_cart], wait=transit_time, func=curry).send()
|
||||||
|
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
gen "Nothing has caught my eye I'm afraid." ("base", xpos="far_left", ypos="head")
|
gen "Nothing has caught my eye I'm afraid." ("base", xpos="far_left", ypos="head")
|
||||||
|
Loading…
Reference in New Issue
Block a user