out is goout now
This commit is contained in:
parent
216f1e94ba
commit
17d03046c3
|
@ -127,7 +127,7 @@ end
|
||||||
|
|
||||||
function back()
|
function back()
|
||||||
if isDialog(here()) and not isDialog(from()) then
|
if isDialog(here()) and not isDialog(from()) then
|
||||||
return stead.out();
|
return stead.goout();
|
||||||
end
|
end
|
||||||
return stead.goback();
|
return stead.goback();
|
||||||
end
|
end
|
||||||
|
@ -148,13 +148,13 @@ function goin(what)
|
||||||
end
|
end
|
||||||
stead.goin = goin
|
stead.goin = goin
|
||||||
|
|
||||||
function out(what)
|
function goout(what)
|
||||||
if isRoom(ref(what)) then
|
if isRoom(ref(what)) then
|
||||||
return me():goto(what, true, true, false, true);
|
return me():goto(what, true, true, false, true);
|
||||||
end
|
end
|
||||||
return me():goto(from(), true, true, false, true);
|
return me():goto(from(), true, true, false, true);
|
||||||
end
|
end
|
||||||
stead.out = out
|
stead.goout = goout
|
||||||
|
|
||||||
game.ini = stead.hook(game.ini,function(f, ...)
|
game.ini = stead.hook(game.ini,function(f, ...)
|
||||||
if isRoom(here()) then
|
if isRoom(here()) then
|
||||||
|
|
Loading…
Reference in a new issue