User Tools

Site Tools


lua:scripting:firetemple

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
lua:scripting:firetemple [2015/01/01 09:43] vodurlua:scripting:firetemple [2015/01/01 09:50] (current) vodur
Line 118: Line 118:
     local wallind=randnum(1,#walls)     local wallind=randnum(1,#walls)
     local wall=walls[wallind]     local wall=walls[wallind]
 +    table.remove(walls, wallind)
          
     if not maze[wall.exit.toroom] then     if not maze[wall.exit.toroom] then
Line 130: Line 131:
     end     end
          
-    table.remove(walls, wallind)+    
                                        
 end end
lua/scripting/firetemple.1420105402.txt.gz · Last modified: 2015/01/01 09:43 by vodur