diff --git a/stead/goto.lua b/stead/goto.lua index 8bca1fb..7a02173 100644 --- a/stead/goto.lua +++ b/stead/goto.lua @@ -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