Fix random bugs
This commit is contained in:
@@ -922,7 +922,9 @@ class Game:
|
||||
def select_next_item(self):
|
||||
# select the next item slot that has an item
|
||||
for slot, item in self.g.inv.items():
|
||||
if slot < 9: continue # skip armour slots
|
||||
if item.present:
|
||||
print('slot:', slot, 'item:', item)
|
||||
self.g.game.choose_slot(slot)
|
||||
self.g.holding = item.item_id
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user