mirror of
https://github.com/minetest-mods/hbsprint.git
synced 2024-12-22 21:32:24 +01:00
Merge pull request #2 from AntumMT/fixes
Fix undeclared global variable 'player' warning
This commit is contained in:
commit
34b9470ea1
2
init.lua
2
init.lua
@ -122,7 +122,7 @@ if minetest.get_modpath("hudbars") ~= nil and stamina then
|
|||||||
20, 20,
|
20, 20,
|
||||||
false, "%s: %.1f/%.1f")
|
false, "%s: %.1f/%.1f")
|
||||||
hudbars = true
|
hudbars = true
|
||||||
hb.hide_hudbar(player, "stamina")
|
hb.hide_hudbar(nil, "stamina")
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_on_joinplayer(function(player)
|
minetest.register_on_joinplayer(function(player)
|
||||||
|
Loading…
Reference in New Issue
Block a user