out optional arg

This commit is contained in:
p.kosyh 2010-07-17 14:11:34 +00:00
parent a341f3713c
commit 945d8fdf9c

View file

@ -148,7 +148,10 @@ function goin(what)
end
stead.goin = goin
function out()
function out(what)
if isRoom(ref(what)) then
return me():goto(what, true, true, false, true);
end
return me():goto(from(), true, true, false, true);
end
stead.out = out