Déplacer le rêve actuel dans l'en-tête #240

Merged
vincent.vandeme merged 1 commits from working into master 2020-11-18 20:03:19 +01:00

View File

@ -455,9 +455,9 @@ export class RdDActor extends Actor {
updateCarac( caracName, caracValue )
{
let caracpath = "data.carac." + caracName + ".value"
if (caracName == reve) {
if (caracName == "reve") {
if (caracValue > Misc.toInt(this.data.data.reve.seuil.value)) {
this.setPointDeSeuil(caracValue);
this.setPointsDeSeuil(caracValue);
}
}
this.update( { caracpath: caracValue } );