diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/esieequest/controller/commands/UseCommand.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/esieequest/controller/commands/UseCommand.java b/src/esieequest/controller/commands/UseCommand.java index c90bb8f..170050e 100644 --- a/src/esieequest/controller/commands/UseCommand.java +++ b/src/esieequest/controller/commands/UseCommand.java | |||
@@ -30,6 +30,10 @@ public class UseCommand implements Executable { | |||
30 | final Item item = game.getPlayer().getInventory().getItem(itemName); | 30 | final Item item = game.getPlayer().getInventory().getItem(itemName); |
31 | item.use(game, view); | 31 | item.use(game, view); |
32 | 32 | ||
33 | view.updateLocation(game.getPlayer().getCurrentRoom(), game.getPlayer() | ||
34 | .getCurrentDirection(), game.getPlayer().getCurrentSide(), game.getPlayer() | ||
35 | .canGoBack()); | ||
36 | |||
33 | } | 37 | } |
34 | 38 | ||
35 | } | 39 | } |