more useful NEED_SCENE

This commit is contained in:
p.kosyh 2010-07-15 14:21:18 +00:00
parent 89462f47f2
commit 532af9903f

View file

@ -70,6 +70,11 @@ go = function (self, where, back, noenter, noexit, nodsc)
ret()
PLAYER_MOVED = true
if need_scene and not nodsc then
NEED_SCENE = true
end
if not stead.in_goto_call then
local to = self.where
if not noexit then
@ -99,10 +104,6 @@ go = function (self, where, back, noenter, noexit, nodsc)
dialog_rescan(ref(to));
end
end
PLAYER_MOVED = true
if need_scene and not nodsc then
NEED_SCENE = true
end
return res;
end
stead.go = go