Add license notice on init.lua
This commit is contained in:
parent
69dbdbed2b
commit
6b886edad1
9
init.lua
9
init.lua
@ -1,8 +1,13 @@
|
|||||||
--[[
|
--[[
|
||||||
|
Copyright (C) 2020 squiddible and contributors
|
||||||
|
This project is licensed under the MIT license.
|
||||||
|
|
||||||
|
See https://mit-license.org/ for more information.
|
||||||
|
|
||||||
|
--------------------------------------------------
|
||||||
|
|
||||||
Lowers gravity the higher (and lower) you get above (or below) sea
|
Lowers gravity the higher (and lower) you get above (or below) sea
|
||||||
level, max gravity at sea level.
|
level, max gravity at sea level.
|
||||||
|
|
||||||
]]--
|
]]--
|
||||||
|
|
||||||
local action_timer = 0
|
local action_timer = 0
|
||||||
@ -17,7 +22,6 @@ local gravity_update = function()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
local function gravity_globaltimer(dtime)
|
local function gravity_globaltimer(dtime)
|
||||||
action_timer = action_timer + dtime
|
action_timer = action_timer + dtime
|
||||||
|
|
||||||
@ -28,4 +32,3 @@ local function gravity_globaltimer(dtime)
|
|||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_globalstep(gravity_globaltimer)
|
minetest.register_globalstep(gravity_globaltimer)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user