Polishing of mods checking
parent
a653ee2cc0
commit
a780d10400
2
hud.lua
2
hud.lua
|
@ -12,7 +12,7 @@
|
||||||
local S = xpro.S
|
local S = xpro.S
|
||||||
|
|
||||||
-- Mod Hudbars
|
-- Mod Hudbars
|
||||||
if hb then
|
if minetest.get_modpath("hudbars") then
|
||||||
|
|
||||||
local get_progress = function(my_xp, my_lvl)
|
local get_progress = function(my_xp, my_lvl)
|
||||||
if xpro.niveis[my_lvl+1] == nil then return 100 end
|
if xpro.niveis[my_lvl+1] == nil then return 100 end
|
||||||
|
|
Loading…
Reference in New Issue