mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 07:02:26 +01:00
IPVGO: Fix mismatch in board size options on save loader [save corruption bugfix] (#1355)
This commit is contained in:
parent
653d531d0a
commit
d9e8161a64
@ -68,7 +68,7 @@ export const opponentDetails = {
|
||||
},
|
||||
};
|
||||
|
||||
export const boardSizes = [5, 7, 9, 13];
|
||||
export const boardSizes = [5, 7, 9, 13, 19];
|
||||
|
||||
export const columnIndexes = "ABCDEFGHJKLMNOPQRSTUVWXYZ";
|
||||
|
||||
|
@ -18,6 +18,7 @@ interface IProps {
|
||||
cancel: () => void;
|
||||
showInstructions: () => void;
|
||||
}
|
||||
const boardSizeOptions = boardSizes.filter((size) => size !== 19);
|
||||
|
||||
export const GoSubnetSearch = ({ open, search, cancel, showInstructions }: IProps): React.ReactElement => {
|
||||
const classes = boardStyles();
|
||||
@ -88,7 +89,7 @@ export const GoSubnetSearch = ({ open, search, cancel, showInstructions }: IProp
|
||||
<Typography>????</Typography>
|
||||
) : (
|
||||
<Select value={`${boardSize}`} onChange={changeBoardSize} sx={{ mr: 1 }}>
|
||||
{boardSizes.map((size) => (
|
||||
{boardSizeOptions.map((size) => (
|
||||
<MenuItem key={size} value={size}>
|
||||
{size}x{size}
|
||||
</MenuItem>
|
||||
|
Loading…
Reference in New Issue
Block a user