Skip to content

Passed review PR#3650

Merged
Astralcircle merged 2 commits into
wiremod:masterfrom
ShiroKSH:fix/passed-review-pr
Jul 9, 2026
Merged

Passed review PR#3650
Astralcircle merged 2 commits into
wiremod:masterfrom
ShiroKSH:fix/passed-review-pr

Conversation

@ShiroKSH

@ShiroKSH ShiroKSH commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

passed review pr

Comment thread lua/wire/server/wirelib.lua Outdated
Comment on lines +1183 to +1186
Data.Class = scripted_ents.Get(Data.Class).ClassName
local sent = scripted_ents.Get(Data.Class)
if not sent or not sent.ClassName then return false end

Data.Class = sent.ClassName

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Does this check make sense? WireLib.MakeWireEnt is already called only for the valid classes

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fair, dropped it from this split PR.

@Astralcircle Astralcircle merged commit fd918b3 into wiremod:master Jul 9, 2026
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.

3 participants