Test selling items
This commit is contained in:
@ -132,11 +132,11 @@ class InventoryMenu(Menu):
|
||||
|
||||
|
||||
class StoreMenu(Menu):
|
||||
merchant: Merchant
|
||||
merchant: Merchant = None
|
||||
|
||||
def update_merchant(self, merchant: Merchant) -> None:
|
||||
self.merchant = merchant
|
||||
|
||||
@property
|
||||
def values(self) -> list:
|
||||
return self.merchant.inventory
|
||||
return self.merchant.inventory if self.merchant else []
|
||||
|
Reference in New Issue
Block a user