Update brainapi.mjs

This commit is contained in:
Arma-Damna-Dillo 2025-02-08 03:28:36 +00:00
parent a970fd146d
commit 437449a16f

View file

@ -42,7 +42,7 @@ export class ConsciousnessSimulator {
await this.updateEmotion() await this.updateEmotion()
} }
redefineSpecificOpinion(opinionKey, newValue) { async redefineSpecificOpinion(opinionKey, newValue) {
if (this.opinions.hasOwnProperty(opinionKey)) { if (this.opinions.hasOwnProperty(opinionKey)) {
this.opinions[opinionKey] = newValue; this.opinions[opinionKey] = newValue;
} else { } else {