1
0
Fork 0

Update utils.js

This commit is contained in:
Wouter van Wageningen 2021-02-14 18:13:46 -08:00 committed by GitHub
parent 2a2026cbec
commit 87d3defcb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ function dartCalcBack(options, seatWaistDiff, nrOfDarts) {
)
}
function dartCalc(options, seat, seatEase, waist, waistEase) {
function dartCalc(store, options, seat, seatEase, waist, waistEase) {
seat += seatEase
waist += waistEase
let seatWaistDiff = Math.max(seat - waist, 0)
@ -90,9 +90,9 @@ function dartCalc(options, seat, seatEase, waist, waistEase) {
});
*/
options.frontDartSize = frontDartSize
options.backDartSize = backDartSize
options.nrOfDarts = nrOfDarts
store.set('frontDartSize', frontDartSize )
store.set('backDartSize', backDartSize )
store.set('nrOfDarts', nrOfDarts )
}
/**