garrysmod
garrysmod copied to clipboard
Weapons and entities now copy their userdata and metatables
Deep copies are now made of weapons and entities in Get. Also, BaseClass keys are no longer set in any table except the base SWEP/ENT table. Lastly, the SWEPs base is now set in Register. Matrices are not copied due to https://github.com/Facepunch/garrysmod-requests/issues/880, but the code to do so is sitting in a comment.
This has conflicts, it seems.
No clue why the diff is so messy, but a bit annoying constantly resolving conflicts for PRs ignored for years.
I assume line-ending changes are the culprit for the diff mess. (which should count as whitespace change, try the diff option to ignore those)
Yeah I noticed that when ignoring them after I made the change, but I resolved the conflicts through the GitHub editor which I assumed would maintain line endings.
Closing due to lack of activity.
Reopen and I'll fix, sorry I didn't notice this one
It's been enough time. You can open a new one if you ever get around to it.
Yeah I started rewriting this and got distracted, I'm gonna go with a different solution so a new PR would be better