mirror of
https://github.com/mt-mods/controls.git
synced 2024-11-08 08:03:47 +01:00
fix typo
This commit is contained in:
parent
b367fb0f65
commit
81c651b571
1
init.lua
1
init.lua
@ -39,7 +39,6 @@ end)
|
|||||||
minetest.register_globalstep(function(dtime)
|
minetest.register_globalstep(function(dtime)
|
||||||
for _, player in pairs(minetest.get_connected_players()) do
|
for _, player in pairs(minetest.get_connected_players()) do
|
||||||
local player_name = player:get_player_name()
|
local player_name = player:get_player_name()
|
||||||
if not controls.players[player_name] then
|
|
||||||
local player_controls = player:get_player_control()
|
local player_controls = player:get_player_control()
|
||||||
for cname, cbool in pairs(player_controls) do
|
for cname, cbool in pairs(player_controls) do
|
||||||
if not controls.players[player_name] then
|
if not controls.players[player_name] then
|
||||||
|
Loading…
Reference in New Issue
Block a user