visited fix
This commit is contained in:
parent
09b3396edf
commit
07d1c5e906
|
@ -159,6 +159,9 @@ stead.goout = goout
|
|||
function visited(w)
|
||||
if not w then w = here() end
|
||||
w = ref(w)
|
||||
if w == nil then
|
||||
return 0;
|
||||
end
|
||||
if not isRoom(w) then
|
||||
error ("Wrong parameter to visited.", 2);
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue