Skip to content

Sitting - Fix sitting on carried objects#10318

Merged
LinkIsGrim merged 2 commits intomasterfrom
musicalChair
Sep 17, 2024
Merged

Sitting - Fix sitting on carried objects#10318
LinkIsGrim merged 2 commits intomasterfrom
musicalChair

Conversation

@PabstMirror
Copy link
Copy Markdown
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
Comment thread addons/sitting/functions/fnc_canSit.sqf Outdated

// Sitting enabled, not occupied and standing up (or not on a big slope)
XGVAR(enable) &&
{[_player, _seat, []] call EFUNC(common,canInteractWith)} &&
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.

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

Comment thread addons/sitting/functions/fnc_canSit.sqf Outdated
@LinkIsGrim LinkIsGrim merged commit b662de6 into master Sep 17, 2024
@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