Skip to content

Commit

Permalink
#205 - remove extra connectors
Browse files Browse the repository at this point in the history
  • Loading branch information
AloisSeckar committed Feb 12, 2024
1 parent b13fa5e commit 11999e9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 1 deletion.
Binary file modified backstop_data/bitmaps_reference/action-bb-pb_m.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified backstop_data/bitmaps_reference/action-bb-wp_m.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion utils/wbsc-eval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ function processInput (input: WBSCInput, batter: number): WBSCOutput {
break
}

if (possibleConcurrentPlay) {
if (possibleConcurrentPlay && firstActions.includes(input.group)) {
useEvalStore().pushConcurrentPlayIfNotAdded({
batter: output.batter,
base: output.base,
Expand Down
1 change: 1 addition & 0 deletions utils/wbsc-validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import type { WBSCInput } from '@/composables/useInputStore'

const firstRunnerActions = [inputR1, inputR2, inputR3]
export const firstActions = [inputB, inputR1, inputR2, inputR3]
const hitActions = ['1B', '2B', '3B', 'HR', '1BB', '2BG', 'IHR']
const decisiveErrorActions = [
'EF', 'EFB', 'ET', 'EDF', 'EDL', 'EDP', 'INT', 'OB', 'ENF', 'ENT', 'KSET', 'KSE', 'KLET', 'KLE',
Expand Down

0 comments on commit 11999e9

Please # to comment.