From ec0630899056f1b0636f6b15312af81ef1acaf88 Mon Sep 17 00:00:00 2001 From: Luke aka SwissalpS Date: Mon, 16 May 2022 21:42:03 +0200 Subject: [PATCH] whitespace indents --- init.lua | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/init.lua b/init.lua index bf1ef1c..c71f996 100644 --- a/init.lua +++ b/init.lua @@ -61,7 +61,7 @@ end hangglider = {} --Make this global, so other mods can tell if hangglider exists. hangglider.use = {} if HUD_Overlay then -hangglider.id = {} -- hud id for displaying overlay with struts + hangglider.id = {} -- hud id for displaying overlay with struts end if debug then hangglider.debug = {} end -- hud id for debug data --hangglider.airbreak = {} -- true if falling fast when equip @@ -296,14 +296,15 @@ minetest.register_on_joinplayer(function(player) }) hangglider.use[pname] = false if HUD_Overlay then - hangglider.id[pname] = player:hud_add({ - hud_elem_type = "image", - text = "blank.png", - position = {x=0, y=0}, - scale = {x=-100, y=-100}, - alignment = {x=1, y=1}, - offset = {x=0, y=0} - }) end + hangglider.id[pname] = player:hud_add({ + hud_elem_type = "image", + text = "blank.png", + position = {x=0, y=0}, + scale = {x=-100, y=-100}, + alignment = {x=1, y=1}, + offset = {x=0, y=0}, + }) + end if debug then hangglider.debug[pname] = {id = player:hud_add({hud_elem_type = "text", position = {x=0.5, y=0.1},