8000 Allow duplicating an entity with an invalid PhysObj by Astralcircle · Pull Request #503 · wiremod/advdupe2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Allow duplicating an entity with an invalid PhysObj #503

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

Merged
merged 5 commits into from
Jun 20, 2025

Conversation

Astralcircle
Copy link
Contributor

A regular duplicator allows the same thing and it doesn't cause any problems. Made this PR to solve compatibility with addons like Half-Life 2 Tools

A regular duplicator allows the same thing and it doesn't cause any problems. Made this PR to solve compatibility with addons like Half-Life 2 Tools
@Astralcircle
Copy link
Contributor Author

It seems I have foreseen everything, but an extra review would definitely help

@thegrb93
Copy link
thegrb93 commented Jun 9, 2025

Need to make sure the PhysicsObjects table is created correctly when there's no physics objects.

@Astralcircle
Copy link
Contributor Author

What do you mean by this? But I think it can be implemented better, but I implemented it just to make it work, because I don't know the structure of advdupe deeply

@thegrb93
Copy link
thegrb93 commented Jun 9, 2025

Was referring to this, but it looks like it should work fine. https://github.com/wiremod/advdupe2/blob/master/lua/advdupe2/sv_clipboard.lua#L189-L204

@Astralcircle
Copy link
Contributor Author

PhysObj just will be invalid and ignored then

@wrefgtzweve wrefgtzweve merged commit f7a1b24 into wiremod:master Jun 20, 2025
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
0