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 NULL error #3144

Merged
merged 1 commit into from
Oct 13, 2024
Merged

Fix NULL error #3144

merged 1 commit into from
Oct 13, 2024

Conversation

Astralcircle
Copy link
Contributor

It seems that a simple check against the table is not enough, so the entity is sometimes NULL

[wire-master] gamemodes/sandbox/entities/entities/base_gmodentity.lua:20: Tried to use a NULL entity!
1. GetPos - [C]:-1
 2. BeingLookedAtByLocalPlayer - gamemodes/sandbox/entities/entities/base_gmodentity.lua:20
  3. BeingLookedAtByLocalPlayer - addons/wire-master/lua/entities/base_wire_entity.lua:230
   4. fn - addons/wire-master/lua/entities/base_wire_entity.lua:265
    5. unknown - addons/ulib-master/lua/ulib/shared/hook.lua:109

@thegrb93 thegrb93 merged commit 7dd11e5 into wiremod:master Oct 13, 2024
1 check failed
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