Skip to content

Commit

Permalink
Fixed crash on Palace levels on emulator
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcelo Lv Cabral committed Sep 15, 2019
1 parent e1ab71a commit b2c1c7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/levelBuilder.brs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ Function GenerateWallPattern(room as integer) as object
for col = 0 to 10
wallPattern[row][subrow].push(0)
while true
color = colorBase + m.prandom.get(3)
color = colorBase + g.prandom.get(3)
if color <> prevColor
exit while
end if
Expand Down

0 comments on commit b2c1c7b

Please sign in to comment.