Fixed Attachbodypart Console Command #34577
Open
+13
−11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
About the PR
Fixed a console command that would state it was functioning as intended but never actually attached a selected limb to an entity.
Massive thanks for Milon for helping out with this code!
Why / Balance
Want to mess with attaching body parts and would be good to have a command working.
Technical details
First portion of the implementation to connect a limb checked if the root container wasn't null, which in the right circumstance should be the case. This meant that the code to simply check was always running, and never the code to actually connect the limp.
Media
N/A
Requirements
Breaking changes
N/A
Changelog
🆑