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 error #3235

Merged
merged 2 commits into from
Dec 30, 2024
Merged

Fix error #3235

merged 2 commits into from
Dec 30, 2024

Conversation

Astralcircle
Copy link
Contributor

After #3232 players started getting these errors for some unknown reason, this should fix it

[wire-master] addons/wire-master/lua/weapons/laserpointer/cl_init.lua:48: bad argument #1 to 'GetAttachment' (number expected, got nil)
1. GetAttachment - [C]:-1
 2. unknown - addons/wire-master/lua/weapons/laserpointer/cl_init.lua:48

@wrefgtzweve
Copy link
Contributor

wrefgtzweve commented Dec 29, 2024

Strange error, could maybe be happening because the player/self? in :Setup is NULL so it never sets the var? players can become null after full updates, very specific and rare condition though doesn't make much sense

@thegrb93 thegrb93 merged commit f8b50d7 into wiremod:master Dec 30, 2024
1 check passed
@Astralcircle Astralcircle deleted the patch-1 branch December 30, 2024 14:03
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.

4 participants