From 63b57bc036d87ebce95ef63a7d106e712b1ff71e Mon Sep 17 00:00:00 2001 From: "p.kosyh" Date: Sun, 4 Jul 2010 14:54:55 +0000 Subject: [PATCH] goto fix --- stead/goto.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stead/goto.lua b/stead/goto.lua index 57732b3..fbb419f 100644 --- a/stead/goto.lua +++ b/stead/goto.lua @@ -141,6 +141,13 @@ go = stead.hook(go, function(f, ...) if stead.in_life_call then ACTION_TEXT = nil end + if r == nil and PLAYER_MOVED and v == nil then + if cctx() then + cctx().txt = true --hack to cancel game.act + else + r = true + end + end return r,v end)