diff --git a/src/GameOptions/ui/CurrentOptionsPage.tsx b/src/GameOptions/ui/CurrentOptionsPage.tsx index 6f9f001a2..02290d64e 100644 --- a/src/GameOptions/ui/CurrentOptionsPage.tsx +++ b/src/GameOptions/ui/CurrentOptionsPage.tsx @@ -65,88 +65,90 @@ export const CurrentOptionsPage = (props: IProps): React.ReactElement => { const pages = { [GameOptionsTab.SYSTEM]: ( - - - The minimum number of milliseconds it takes to execute an operation in Netscript. Setting this too low can - result in poor performance if you have many scripts running. - - } - /> - - The maximum number of lines a script's logs can hold. Setting this too high can cause the game to use a - lot of memory if you have many scripts running. - - } - /> - - The maximum number of lines a script's logs can hold. Setting this too high can cause the game to use a - lot of memory if you have many scripts running. - - } - /> - - The maximum number of entries that can be written to a port using Netscript's write() function. Setting - this too high can cause the game to use a lot of memory. - - } - /> - - The maximum number of entries that can be written to the terminal. Setting this too high can cause the - game to use a lot of memory. - - } - marks - /> - The time (in seconds) between each autosave. Set to 0 to disable autosave.} - marks - /> + + <> + + The minimum number of milliseconds it takes to execute an operation in Netscript. Setting this too low + can result in poor performance if you have many scripts running. + + } + /> + + The maximum number of lines a script's logs can hold. Setting this too high can cause the game to use a + lot of memory if you have many scripts running. + + } + /> + + The maximum number of lines a script's logs can hold. Setting this too high can cause the game to use a + lot of memory if you have many scripts running. + + } + /> + + The maximum number of entries that can be written to a port using Netscript's write() function. Setting + this too high can cause the game to use a lot of memory. + + } + /> + + The maximum number of entries that can be written to the terminal. Setting this too high can cause the + game to use a lot of memory. + + } + marks + /> + The time (in seconds) between each autosave. Set to 0 to disable autosave.} + marks + /> + ), [GameOptionsTab.INTERFACE]: ( diff --git a/src/GameOptions/ui/GameOptionsPage.tsx b/src/GameOptions/ui/GameOptionsPage.tsx index 7d9766785..a8b5e4afa 100644 --- a/src/GameOptions/ui/GameOptionsPage.tsx +++ b/src/GameOptions/ui/GameOptionsPage.tsx @@ -5,14 +5,13 @@ import React from "react"; interface IProps { children: React.ReactElement | (React.ReactElement | null)[]; title: string; - noList?: boolean; } export const GameOptionsPage = (props: IProps): React.ReactElement => { return ( {props.title} - {(props.children as any)?.length > 1 && !props.noList ? ( + {(props.children as any)?.length > 1 ? ( {(props.children as React.ReactElement[]) .filter((c) => c)