mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 15:12:27 +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";
|
export const columnIndexes = "ABCDEFGHJKLMNOPQRSTUVWXYZ";
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@ interface IProps {
|
|||||||
cancel: () => void;
|
cancel: () => void;
|
||||||
showInstructions: () => void;
|
showInstructions: () => void;
|
||||||
}
|
}
|
||||||
|
const boardSizeOptions = boardSizes.filter((size) => size !== 19);
|
||||||
|
|
||||||
export const GoSubnetSearch = ({ open, search, cancel, showInstructions }: IProps): React.ReactElement => {
|
export const GoSubnetSearch = ({ open, search, cancel, showInstructions }: IProps): React.ReactElement => {
|
||||||
const classes = boardStyles();
|
const classes = boardStyles();
|
||||||
@ -88,7 +89,7 @@ export const GoSubnetSearch = ({ open, search, cancel, showInstructions }: IProp
|
|||||||
<Typography>????</Typography>
|
<Typography>????</Typography>
|
||||||
) : (
|
) : (
|
||||||
<Select value={`${boardSize}`} onChange={changeBoardSize} sx={{ mr: 1 }}>
|
<Select value={`${boardSize}`} onChange={changeBoardSize} sx={{ mr: 1 }}>
|
||||||
{boardSizes.map((size) => (
|
{boardSizeOptions.map((size) => (
|
||||||
<MenuItem key={size} value={size}>
|
<MenuItem key={size} value={size}>
|
||||||
{size}x{size}
|
{size}x{size}
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
|
Loading…
Reference in New Issue
Block a user