From 17d03046c38403b74cae6e05f99d1beb8b1ee631 Mon Sep 17 00:00:00 2001
From: "p.kosyh"
Date: Mon, 19 Jul 2010 08:18:14 +0000
Subject: [PATCH] out is goout now
---
stead/goto.lua | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/stead/goto.lua b/stead/goto.lua
index 7a02173..a79d4ec 100644
--- a/stead/goto.lua
+++ b/stead/goto.lua
@@ -127,7 +127,7 @@ end
function back()
if isDialog(here()) and not isDialog(from()) then
- return stead.out();
+ return stead.goout();
end
return stead.goback();
end
@@ -148,13 +148,13 @@ function goin(what)
end
stead.goin = goin
-function out(what)
+function goout(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
+stead.goout = goout
game.ini = stead.hook(game.ini,function(f, ...)
if isRoom(here()) then