From 44b6c3ed49eae5974207303ba3635d2087f4ba32 Mon Sep 17 00:00:00 2001
From: "p.kosyh"
Date: Thu, 14 Apr 2011 17:38:39 +0000
Subject: [PATCH] start fix
---
stead/goto.lua | 2 +-
stead/stead.lua | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/stead/goto.lua b/stead/goto.lua
index fcb7fcd..df0c1fc 100644
--- a/stead/goto.lua
+++ b/stead/goto.lua
@@ -214,8 +214,8 @@ end)
player = stead.inherit(player, function(v)
v.look = function(s)
if not stead.started then
- stead.started = true
game:start()
+ stead.started = true
end
if game._time == 0 then
return stead.goto(here(), false, false, true);
diff --git a/stead/stead.lua b/stead/stead.lua
index e4c811f..03349cb 100644
--- a/stead/stead.lua
+++ b/stead/stead.lua
@@ -1822,6 +1822,7 @@ function gamefile(file, forget)
end
if forget then
game:start()
+ stead.started = true
return goto(here());
end
end