From c38c2785c1ff75d2cbc3bf7f3dd197f2261db1b9 Mon Sep 17 00:00:00 2001 From: "p.kosyh" Date: Tue, 27 Jul 2010 11:14:20 +0000 Subject: [PATCH] visited fix --- stead/goto.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stead/goto.lua b/stead/goto.lua index 0d3d932..4003128 100644 --- a/stead/goto.lua +++ b/stead/goto.lua @@ -160,7 +160,7 @@ function visited(w) if not w then w = here() end w = ref(w) if w == nil then - return 0; + return nil; end if not isRoom(w) then error ("Wrong parameter to visited.", 2);