Skip to content

Commit c260b32

Browse files
committed
narrow: Fix data not rebuilding when changing num
1 parent f0a0efb commit c260b32

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

src/variety/nawabari.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,18 @@
9696
qcmp2: 0,
9797

9898
disInputHatena: true,
99+
100+
posthook: {
101+
qnum: function() {
102+
if (this.room) {
103+
this.board.roommgr.setExtraData(this.room);
104+
}
105+
if (this.eqblk) {
106+
this.board.eqblkgraph.setExtraData(this.eqblk);
107+
}
108+
}
109+
},
110+
99111
displayNum: function() {
100112
var qcmp = this.qcmp1 || this.qcmp2;
101113
if (this.puzzle.execConfig("autoerr") && this.qnum === -1 && qcmp) {

0 commit comments

Comments
 (0)