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 variable initialization #95

Merged
merged 1 commit into from
Feb 4, 2024
Merged

Conversation

Scaarus
Copy link
Contributor

@Scaarus Scaarus commented Feb 4, 2024

Previously the one-liner for multiple variable initializations was referencing other variables in the same one-liner. This isn't allowed in LUA, it will use that variables previous value or nil if it didn't exist.

By setting OWNER separately, we can keep the rest of the one-liner.

Fixes #91

Previously the one-liner for multiple variable initializations was referencing other variables in the same one-liner. This isn't allowed in LUA, it will use that variables previous value or `nil` if it didn't exist.

By setting OWNER separately, we can keep the rest of the one-liner.
@Scaarus
Copy link
Contributor Author

Scaarus commented Feb 4, 2024

Also fixes #90 (91 is a dupe)

Copy link
Owner

@AmirrezaJaberi AmirrezaJaberi left a comment

Choose a reason for hiding this comment

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

That's true bug , Thanks for your Pull request

@AmirrezaJaberi AmirrezaJaberi self-assigned this Feb 4, 2024
@AmirrezaJaberi AmirrezaJaberi added the bug Something isn't working label Feb 4, 2024
@AmirrezaJaberi AmirrezaJaberi merged commit 53bf69a into AmirrezaJaberi:main Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GetPlayerToken
2 participants