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