more useful NEED_SCENE
This commit is contained in:
parent
89462f47f2
commit
532af9903f
|
@ -70,6 +70,11 @@ go = function (self, where, back, noenter, noexit, nodsc)
|
||||||
|
|
||||||
ret()
|
ret()
|
||||||
|
|
||||||
|
PLAYER_MOVED = true
|
||||||
|
if need_scene and not nodsc then
|
||||||
|
NEED_SCENE = true
|
||||||
|
end
|
||||||
|
|
||||||
if not stead.in_goto_call then
|
if not stead.in_goto_call then
|
||||||
local to = self.where
|
local to = self.where
|
||||||
if not noexit then
|
if not noexit then
|
||||||
|
@ -99,10 +104,6 @@ go = function (self, where, back, noenter, noexit, nodsc)
|
||||||
dialog_rescan(ref(to));
|
dialog_rescan(ref(to));
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
PLAYER_MOVED = true
|
|
||||||
if need_scene and not nodsc then
|
|
||||||
NEED_SCENE = true
|
|
||||||
end
|
|
||||||
return res;
|
return res;
|
||||||
end
|
end
|
||||||
stead.go = go
|
stead.go = go
|
||||||
|
|
Loading…
Reference in a new issue