Changeset - 4167721ad0a7
[Not reviewed]
default
0 2 0
Silverwing - 8 years ago 2017-04-30 10:00:10

Fix party members appearing in cutscenes
2 files changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general) First comment
party.lua
Show inline comments
 
@@ -12,7 +12,7 @@ party_accompany = function(s, value)
 
end;
 
 
party_follow = function(s)
 
    if (where(pl).cutscene) then
 
    if (where(pl).cutscene or where(pl).not_follow) then
 
    elseif (where(pl).leviathan) then
 
        if (stead.nameof(where(s)) ~= s.home) then
 
            move(s, s.home, where(s));
utils.lua
Show inline comments
 
@@ -284,6 +284,7 @@ end;
 
function cutscene(nam, disp, dsc, nxt, entered)
 
    return room {
 
        nam = nam;
 
        not_follow = true;
 
        disp = disp;
 
        entered = entered;
 
        hideinv = true;
 
@@ -300,6 +301,7 @@ function lcutscene(nam, disp, dsc, msg, 
 
        var {
 
            state = 0;
 
        };
 
        not_follow = true;
 
        nam = nam;
 
        disp = disp;
 
        enter = function(s)
0 comments (0 inline, 0 general) First comment
You need to be logged in to comment. Login now