Skip to content
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

Sitting - Fix sitting on carried objects #10318

Merged
merged 2 commits into from
Sep 17, 2024
Merged

Sitting - Fix sitting on carried objects #10318

merged 2 commits into from
Sep 17, 2024

Conversation

PabstMirror
Copy link
Contributor

No description provided.

@PabstMirror PabstMirror added the kind/bug-fix Release Notes: **FIXED:** label Sep 16, 2024
@PabstMirror PabstMirror added this to the 3.18.0 milestone Sep 16, 2024
@@ -21,6 +21,7 @@ params ["_seat", "_player", ["_seatPos", 0]];

// Sitting enabled, not occupied and standing up (or not on a big slope)
XGVAR(enable) &&
{[_player, _seat, []] call EFUNC(common,canInteractWith)} &&
Copy link
Contributor

Choose a reason for hiding this comment

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

Why pass an empty array when it's the default value anyway?

@LinkIsGrim LinkIsGrim merged commit b662de6 into master Sep 17, 2024
4 checks passed
@LinkIsGrim LinkIsGrim deleted the musicalChair branch September 17, 2024 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug-fix Release Notes: **FIXED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants