v10/v11 compat
This commit is contained in:
@@ -16,7 +16,7 @@ export class SoSCombat extends Combat {
|
||||
this.setInitiative(combatant.id, -1); // Reset init
|
||||
let uniq = randomID(16)
|
||||
const name = combatant.actor ? combatant.actor.name : combatant.name;
|
||||
if (combatant.players && combatant.players[0]) {
|
||||
if (combatant.players && combatant.players[0] ) {
|
||||
// A player controls this combatant -> message !
|
||||
ChatMessage.create({
|
||||
content: `New round ! Click on the button below to declare the actions of ${name} for round ${this.round} !<br>
|
||||
|
||||
Reference in New Issue
Block a user