Fix drop item sans actor

This commit is contained in:
Vincent Vandemeulebrouck 2022-09-16 02:41:54 +02:00
parent e1ca7ab738
commit c8c13d626c

View File

@ -26,7 +26,7 @@ export class RdDSheetUtility {
destId: destItemId, destId: destItemId,
targetActorId: actorId, targetActorId: actorId,
itemId: item.id, itemId: item.id,
sourceActorId: item.actor.id, sourceActorId: item.actor?.id,
srcId: objetVersConteneur[item.id], srcId: objetVersConteneur[item.id],
onEnleverConteneur: () => { delete objetVersConteneur[item.id]; }, onEnleverConteneur: () => { delete objetVersConteneur[item.id]; },
onAjouterDansConteneur: (itemId, conteneurId) => { objetVersConteneur[itemId] = conteneurId; } onAjouterDansConteneur: (itemId, conteneurId) => { objetVersConteneur[itemId] = conteneurId; }