Fix: pas de surprise pour demi-rêve

Un point d'exclamation inesthétique apparaîssait
This commit is contained in:
Vincent Vandemeulebrouck 2021-01-13 17:32:25 +01:00
parent d1a8c13b84
commit 36788b28d2

View File

@ -76,11 +76,11 @@
<span>{{data.compteurs.surenc.label}}: {{data.compteurs.surenc.value}}</span>
</div>
<div>
{{#if data.surprise}}{{data.surprise}}! {{/if}}
{{#if actor.effects}}
{{data.surprise}}!
{{#each actor.effects as |effect key|}}
<span id="effect-{{effect.flags.core.status.statusId}} ">
<img class="button-effect-img" src="{{effect.icon}}" alt="{{effect.label}}" width="16" height="16" />
<img class="button-effect-img" src="{{effect.icon}}" alt="{{effect.label}}" width="24" height="24" />
</span>
{{/each}}
{{#if data.isGM}}