Update TNTsweeper_app.lua

master
Gerold55 2019-04-15 02:55:46 -04:00 committed by GitHub
parent db3e81220c
commit d1b0a94231
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ sweeper_class.__index = sweeper_class
function sweeper_class:init(level)
self.data.level = level
if not level_config[level] then print('ERROR: WRONG LEVEL', level) end
local config = level_config[level]
-- build board
self.data.board = {}