fix gamebook deviation comment display

This commit is contained in:
Thibault Duplessis 2017-08-19 16:29:23 -05:00
parent b9ca787202
commit b2ec6ad7ac

View file

@ -48,7 +48,7 @@ export default class GamebookPlayCtrl {
} else {
state.feedback = 'bad';
if (!state.comment) {
state.comment = parNode.gamebook!.deviation;
state.comment = parNode.children[0].gamebook!.deviation;
}
}
this.state = state as State;