forked from public/foundryvtt-reve-de-dragon
Fix remoteCall
This commit is contained in:
@ -227,7 +227,7 @@ export class RdDBaseActor extends Actor {
|
||||
if (fromActorId && !game.user.isGM) {
|
||||
RdDBaseActor.remoteActorCall({
|
||||
userId: Misc.connectedGMOrUser(),
|
||||
tokenId: actor.token?.id,
|
||||
tokenId: this.token?.id,
|
||||
actorId: this.id,
|
||||
method: 'ajouterSols', args: [sols, fromActorId]
|
||||
});
|
||||
@ -258,7 +258,6 @@ export class RdDBaseActor extends Actor {
|
||||
}
|
||||
if (!Misc.isUniqueConnectedGM()) {
|
||||
RdDBaseActor.remoteActorCall({
|
||||
tokenId: actor.token?.id,
|
||||
actorId: achat.vendeurId ?? achat.acheteurId,
|
||||
method: 'achatVente',
|
||||
args: [achat]
|
||||
|
Reference in New Issue
Block a user