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

Remove NaN values from digiline messages #667

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

OgelGames
Copy link
Contributor

@OgelGames OgelGames commented Mar 12, 2024

NaN can cause problems (and crashes) if the receiving node doesn't check for it, this PR makes it so NaN values are removed from digiline messages.

Copy link
Member

@Niklp09 Niklp09 left a comment

Choose a reason for hiding this comment

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

lgtm

@SmallJoker
Copy link
Member

How can I reproduce the bug and hence confirm the fix?

@OgelGames
Copy link
Contributor Author

How can I reproduce the bug and hence confirm the fix?

See here: mt-mods/digistuff#54

@SmallJoker
Copy link
Member

Thanks. Issue reproduced and the PR works as expected.

@SmallJoker SmallJoker merged commit cffbc33 into minetest-mods:master Mar 14, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants