fix in objects mod2

This commit is contained in:
p.kosyh 2010-06-20 16:56:36 +00:00
parent b1b2270a9d
commit 79cb717eea

View file

@ -19,7 +19,7 @@ room = inherit(room, function(v)
end)
end
if v.entered then
v.entered = hook(v.enter, function(f, s, from, ...)
v.entered = hook(v.entered, function(f, s, from, ...)
return f(s, ref(from), unpack(arg))
end)
end