Seuil de rêve pas mis à jour en changeant le Rêve
This commit is contained in:
parent
f3084b2d60
commit
da9fe2f1bb
@ -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 } );
|
||||
|
Loading…
Reference in New Issue
Block a user