Gestion TMR caché, WIP #135

This commit is contained in:
2021-04-28 00:48:39 +02:00
parent d486fa7aff
commit 4ecc8826f6
17 changed files with 170 additions and 21 deletions

View File

@ -510,10 +510,11 @@ export class RdDUtility {
case "msg_response_nombre_astral":
return RdDUtility.responseNombreAstral(sockmsg.data);
case "msg_tmr_move":
if (game.user.isGM) {
let actor = game.actors.get(sockmsg.data.actorId);
let actor = game.actors.get(sockmsg.data.actorId);
if (actor.isOwner || game.user.isGM ) {
actor.refreshTMRView(sockmsg.data.tmrPos);
}
break;
}
}