fix in visited logic
This commit is contained in:
parent
c211d11c04
commit
f2b47f4260
|
@ -1,4 +1,4 @@
|
|||
VERSION := 1.2.0
|
||||
VERSION := 1.1.910
|
||||
|
||||
DESTDIR=
|
||||
BIN=
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
VERSION := 1.2.0
|
||||
VERSION := 1.1.910
|
||||
|
||||
PREFIX=/usr/local
|
||||
DESTDIR=
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
VERSION := 1.2.0
|
||||
VERSION := 1.1.910
|
||||
|
||||
PREFIX=./
|
||||
DESTDIR=
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
VERSION := 1.2.0
|
||||
VERSION := 1.1.910
|
||||
|
||||
PREFIX=
|
||||
DESTDIR=
|
||||
|
|
|
@ -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)
|
||||
|
|
Reference in a new issue