Changeset - 8a8cef5d3441
[Not reviewed]
default
0 1 0
Silverwing - 5 years ago 2018-12-22 22:28:15

Chapter 1: 15 game fixed
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
atlantis_dyp.lua
Show inline comments
 
@@ -173,7 +173,7 @@ dyp_obelisk_puzzle = room {
 
            end;
 
            local k = 1;
 
            for i = 1, 16 do
 
                if s.state[i] == 1 then
 
                if s.state[i] ~= 12 then
 
                    for j = i + 1, 16 do
 
                        if s.state[i] > s.state[j] and s.state[j] ~= 12 then
 
                            k = k + 1;
 
@@ -183,7 +183,7 @@ dyp_obelisk_puzzle = room {
 
                    k = k + math.floor(i / 4);
 
                end;
 
            end;
 
            if k % 2 == 0 then
 
            if k % 2 == 1 then
 
                for i = 16, 1, -1 do
 
                    if s.state[i] == 14 then
 
                        s.state[i] = 15;
0 comments (0 inline, 0 general)