Skip to content

Commit

Permalink
Add missing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo committed Sep 15, 2023
1 parent dc0d510 commit 536dae4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/bit-permissions-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { HoldableButton } from "../bit-components";
import { isPinned } from "../bit-systems/networking";

export function canMove(eid) {
// Add support to pen/emojis when those are migrated to bitECS
return (
hasComponent(APP.world, HoldableButton, eid) ||
(APP.hubChannel.can("spawn_and_move_media") && (!isPinned(eid) || APP.hubChannel.can("pin_objects")))
Expand Down

0 comments on commit 536dae4

Please sign in to comment.