Skip to content

Commit e9a2cc9

Browse files
Update godice.js
Small fix
1 parent 034a2af commit e9a2cc9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

godice.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,8 +442,7 @@ class GoDice {
442442
const diceCurrentNumber = this.getDieValue(data, 1);
443443
const xyzArray = this.getXyzFromBytes(data, 1)
444444
this.rolledValue = diceCurrentNumber;
445-
this.onStable(deviceId, diceCurrentNumber, xyzArray);
446-
}
445+
this.onStable(deviceId, diceCurrentNumber, xyzArray);
447446
}
448447

449448
if (firstByte === 70 && secondByte === 83) {

0 commit comments

Comments
 (0)