-
Notifications
You must be signed in to change notification settings - Fork 6
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
Beware the Dark Not Working Properly on Servers #2
Comments
@lumidify Hello. I have implemented your change in my fork. I will do pull request into this branch, but it looks unlikely that this branch will be updated. @bendeutsch or perhaps not hope is lost? :-) |
@minertestdude Hi, I'm glad to know this was still useful for someone - I'd completely forgotten about it over the years... |
Hello everyone, I'm sorry, but I don't have the time to work on anything Minetest-related right now. A fork actually sounds like the best option. I'm glad it seems someone is keeping this going! |
When I play this on a server, sanity works, but I only get the actual hud element shown the first time I join (until the server is restarted). It seems as if this is because of lines 67-71 in
init.lua
:The way I understand this is that
M.hud_init
, which actually shows the hud element to the player, is only shown the first time they join, until the server is restarted (andM.players
is emptied). However, it works if I moveM.Hud_init(player)
out of the if statement, like so:Am I missing something, or why is
M.hud_init
only run the first time the player joins?The text was updated successfully, but these errors were encountered: