summaryrefslogtreecommitdiff
path: root/agent.prolog
diff options
context:
space:
mode:
Diffstat (limited to 'agent.prolog')
-rw-r--r--agent.prolog3
1 files changed, 2 insertions, 1 deletions
diff --git a/agent.prolog b/agent.prolog
index 2ff60eb..11502ac 100644
--- a/agent.prolog
+++ b/agent.prolog
@@ -83,7 +83,8 @@ move(Direction) :-
asserta(here(New)),
join(['You move to the ',Direction,' .\n\n'],W),
write(W),
- checkHazards, !.
+ checkHazards,
+ look, !.
take(gold) :-