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);