Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING: Undeclared global variable "HUD_ENABLE_HUNGER" #27

Open
Alvarion opened this Issue Oct 1, 2015 · 5 comments

Comments

Projects
None yet
5 participants
@Alvarion
Copy link

Alvarion commented Oct 1, 2015

WARNING: Undeclared global variable "HUD_ENABLE_HUNGER" accessed at /home/slanina/.minetest/mods/hud/builtin.lua:41

@BlockMen BlockMen added the not a bug label Oct 9, 2015

@BlockMen

This comment has been minimized.

Copy link
Owner

BlockMen commented Oct 9, 2015

Its not a bug, its a warning produced by backwards compatibility code.
So in the long term it will be removed. Just ignore it for now ;)

@Alvarion

This comment has been minimized.

Copy link
Author

Alvarion commented Oct 11, 2015

OK thx

@Wuzzy2

This comment has been minimized.

Copy link

Wuzzy2 commented Oct 31, 2016

Sorry, but this is just bad programming style. BTW, Minetest has a function to check globals without warning. It's minetest.check_global or something like that.

@rubenwardy

This comment has been minimized.

Copy link

rubenwardy commented Nov 1, 2016

minetest.global_exists

@codexp

This comment has been minimized.

Copy link

codexp commented Mar 23, 2018

how do you define long term?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.