Skip to content

Commit

Permalink
inherit old group's nickname when splitting slot from group
Browse files Browse the repository at this point in the history
  • Loading branch information
fechan committed Jul 25, 2024
1 parent 3ba7815 commit e2ec7f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/SplitHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export function splitSlotFromGroup(slotData: ItemSlotDragData, intersections: No
const newGroupId = uuidv4();
const newGroup: Group = {
id: newGroupId,
nickname: oldGroup.nickname,
slots: [slot],
x: initialPosition.x,
y: initialPosition.y,
Expand Down

0 comments on commit e2ec7f7

Please sign in to comment.