Fixed bug where when multiple items with the same name exist in the inventory, only one appears.
This commit is contained in:
parent
18595087ff
commit
358c28d410
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ If -l is given, a map legend will be printed under the map."""
|
|||
return
|
||||
|
||||
def inv(self, args):
|
||||
print('\n'.join([i for i in self.gameBase.player.thingNames]))
|
||||
print('\n'.join([i.name for i in self.gameBase.player.inventory]))
|
||||
|
||||
def newGame(self, args):
|
||||
if self.__inGame:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue