Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

avoid crash when a notified player disconnects #1

Merged
merged 2 commits into from
Dec 20, 2018

Conversation

zeuner
Copy link
Contributor

@zeuner zeuner commented Dec 16, 2018

No description provided.

init.lua Outdated
player:hud_remove(hud.header)
end
else
print("player " .. name .. " not connected anymore")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry but I prefer to not have this statement printed every time the mod attempts to access a non-existent player. It is also very ambiguous when viewed out of context.

@ClobberXD ClobberXD added the enhancement New feature or request label Dec 16, 2018
@zeuner
Copy link
Contributor Author

zeuner commented Dec 20, 2018 via email

Copy link
Owner

@ClobberXD ClobberXD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks

@ClobberXD ClobberXD merged commit 60f6e6f into ClobberXD:master Dec 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants