Skip to content

Commit 0f15524

Browse files
committed
Use the right variable
1 parent 00946d3 commit 0f15524

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/components/Chat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ function () {
525525

526526
case 7:
527527
this.say((0, _stringTemplate.default)(this.locale.switch.success, {
528-
scene: sceneName
528+
scene: scene
529529
}));
530530
_context4.next = 14;
531531
break;

src/components/Chat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ class Chat {
362362

363363
this.say(
364364
format(this.locale.switch.success, {
365-
scene: sceneName
365+
scene
366366
})
367367
);
368368
} catch (e) {

0 commit comments

Comments
 (0)