Skip to content

Commit

Permalink
Merge pull request #8 from LuciaRolon/master
Browse files Browse the repository at this point in the history
Fix issue in CLI
  • Loading branch information
eldri7ch2 authored Jul 19, 2024
2 parents 160c09b + 6a89711 commit 19ef24a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -4752,9 +4752,14 @@
}

function loadWorker(worker, url) {
if(self){
selectedPreset = self.sotnRando.selectedPreset
}else{
selectedPreset = null
}
worker.postMessage({
url: url,
selectedPreset: self.sotnRando.selectedPreset
selectedPreset: selectedPreset
})
}

Expand Down

0 comments on commit 19ef24a

Please sign in to comment.