Skip to content

Update imgui.lua#46

Open
vaqxai wants to merge 1 commit intowyozi-gmod:masterfrom
vaqxai:master
Open

Update imgui.lua#46
vaqxai wants to merge 1 commit intowyozi-gmod:masterfrom
vaqxai:master

Conversation

@vaqxai
Copy link
Copy Markdown

@vaqxai vaqxai commented Jun 8, 2025

Fix error when hot-reloading (line 23)
Fix error when using the egui without an entity (in Start3D2D, isObstructed with invalid entity)

Fix error when hot-realoading (line 23)
Fix error when using the egui without an entity (in Start3D2D, isObstructed with invalid entity)
Comment thread imgui.lua
local obstructed, obstructer = false, nil

if gState.entity then
local obstructed, obstructer = isObstructed(eyepos, hitPos, gState.entity, true)
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.

Suggested change
local obstructed, obstructer = isObstructed(eyepos, hitPos, gState.entity, true)
obstructed, obstructer = isObstructed(eyepos, hitPos, gState.entity, true)

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