mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-06-29 21:31:02 +02:00
Fix most luacheck issues.
There are 3 false positives remaining after this patch, so the bulk of the issues are fixed now.
This commit is contained in:
@ -71,7 +71,7 @@ local function step(pos, fields)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local t = minetest.deserialize(meta:get_string("tetris"))
|
||||
|
||||
local function new_game(pos)
|
||||
local function new_game(p)
|
||||
local nex = math.random(7)
|
||||
|
||||
t = {
|
||||
@ -84,7 +84,7 @@ local function step(pos, fields)
|
||||
x=4, y=0, rot=1
|
||||
}
|
||||
|
||||
local timer = minetest.get_node_timer(pos)
|
||||
local timer = minetest.get_node_timer(p)
|
||||
timer:set(0.3, 0)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user