jinc0930 / Clue

A game
2 stars 0 forks source link

`look` is displaying the wrong items #24

Closed mishimalisa closed 2 years ago

mishimalisa commented 2 years ago

After taking an item and a second item. The look command is displaying the wrong items in the room and inventory. should be an easy fix i think

jinc0930 commented 2 years ago

r u sure? my testing works fine

mishimalisa commented 2 years ago

after taking dagger and rifle, that is what it shows to me

the room has item(s): dagger rifle 
items in your inventory include: rifle

shouldn't be dagger and rifle in my inventory? and nothing in the room

mishimalisa commented 2 years ago

probably working now, fixed https://github.com/jinc0930/Clue/commit/1e88c5b4fe1046506a19835d9953533760f29393 and https://github.com/jinc0930/Clue/commit/40206f0a6d4a268fea1d6a86abc86e4546cfa78b