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()
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue