Tweak it from == 1 to <= 1 just in case

This commit is contained in:
Oliver Akins 2022-06-22 00:38:23 -06:00
parent 7b97beaeb1
commit 699c07f59e
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99

View file

@ -55,7 +55,7 @@ export function determineDirection(board: any[], shipLocation: number) {
}; };
}; };
}; };
if (shipCount == 1) { if (shipCount <= 1) {
return 1; return 1;
}; };