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

Fix type conversion issues in BaseRustSocket constructor #60

Merged
merged 1 commit into from
Jan 28, 2024
Merged

Fix type conversion issues in BaseRustSocket constructor #60

merged 1 commit into from
Jan 28, 2024

Conversation

neverabsolute
Copy link
Contributor

If you create the RustSocket object with the steamid and playertoken args as strings, it successfully constructs, but in most cases will cause a very hard to diagnose error or will just fail to connect.

This PR fixes that by requiring the user to pass in an int or int-like object.

@olijeffers0n olijeffers0n merged commit 275383f into olijeffers0n:master Jan 28, 2024
1 check 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.

2 participants