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