fix in visited logic

This commit is contained in:
p.kosyh 2010-07-23 09:30:47 +00:00
parent c211d11c04
commit f2b47f4260
5 changed files with 4 additions and 11 deletions

View file

@ -1,4 +1,4 @@
VERSION := 1.2.0
VERSION := 1.1.910
DESTDIR=
BIN=

View file

@ -1,4 +1,4 @@
VERSION := 1.2.0
VERSION := 1.1.910
PREFIX=/usr/local
DESTDIR=

View file

@ -1,4 +1,4 @@
VERSION := 1.2.0
VERSION := 1.1.910
PREFIX=./
DESTDIR=

View file

@ -1,4 +1,4 @@
VERSION := 1.2.0
VERSION := 1.1.910
PREFIX=
DESTDIR=

View file

@ -156,13 +156,6 @@ function goout(what)
end
stead.goout = goout
game.ini = stead.hook(game.ini,function(f, ...)
if isRoom(here()) then
here().__visited = 1
end
return f(unpack(arg))
end)
function visited(w)
if not w then w = here() end
w = ref(w)