Skip to content

Fix a lot of NULL errors in WireLib.CanTool and WireLib.CheckFont - #3724

Merged
Astralcircle merged 5 commits into
wiremod:masterfrom
Astralcircle:fixes
Sep 21, 2026
Merged

Astralcircle merged 5 commits into
wiremod:masterfrom
Astralcircle:fixes

Conversation

@Astralcircle

Copy link
Copy Markdown
Member

Fixes:

- addons/wire/lua/wire/server/wirelib.lua:1650: attempt to call method 'SteamID' (a nil value)
1. CheckFont - addons/wire/lua/wire/server/wirelib.lua:1650
 2. SendConfig - addons/wire/lua/entities/gmod_wire_textscreen.lua:282
  3. Retransmit - addons/wire/lua/entities/gmod_wire_textscreen.lua:306
   4. func - addons/wire/lua/wire/wireshared.lua:543
    5. <unknown> - lua/includes/extensions/net.lua:34

+Fixes a lot of possible errors when owner in WireLib.CanTool is NULL (for example when owner disconnected)

Fixes:
```
- addons/wire/lua/wire/server/wirelib.lua:1650: attempt to call method 'SteamID' (a nil value)
1. CheckFont - addons/wire/lua/wire/server/wirelib.lua:1650
 2. SendConfig - addons/wire/lua/entities/gmod_wire_textscreen.lua:282
  3. Retransmit - addons/wire/lua/entities/gmod_wire_textscreen.lua:306
   4. func - addons/wire/lua/wire/wireshared.lua:543
    5. <unknown> - lua/includes/extensions/net.lua:34
```
@Astralcircle
Astralcircle merged commit 7d5183c into wiremod:master Sep 21, 2026
1 check failed
@Astralcircle
Astralcircle deleted the fixes branch September 21, 2026 12:04
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.

1 participant