Update brainapi.mjs
This commit is contained in:
parent
a970fd146d
commit
437449a16f
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ export class ConsciousnessSimulator {
|
|||
await this.updateEmotion()
|
||||
}
|
||||
|
||||
redefineSpecificOpinion(opinionKey, newValue) {
|
||||
async redefineSpecificOpinion(opinionKey, newValue) {
|
||||
if (this.opinions.hasOwnProperty(opinionKey)) {
|
||||
this.opinions[opinionKey] = newValue;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue