mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-08 00:27:47 +02:00
CODEBASE: Fix typo of "CorruptableText" (#2144)
This commit is contained in:
@@ -22,7 +22,7 @@ import { Settings } from "../../Settings/Settings";
|
||||
import { GoScoreModal } from "./GoScoreModal";
|
||||
import { GoGameboard } from "./GoGameboard";
|
||||
import { GoSubnetSearch } from "./GoSubnetSearch";
|
||||
import { CorruptableText } from "../../ui/React/CorruptableText";
|
||||
import { CorruptibleText } from "../../ui/React/CorruptibleText";
|
||||
import { handleNextTurn, resetGoPromises } from "../boardAnalysis/goAI";
|
||||
import { GoScoreExplanation } from "./GoScoreExplanation";
|
||||
import { exceptionAlert } from "../../utils/helpers/exceptionAlert";
|
||||
@@ -215,7 +215,7 @@ export function GoGameboardWrapper({ showInstructions }: GoGameboardWrapperProps
|
||||
<Typography variant={"h6"} className={classes.opponentLabel}>
|
||||
{Go.currentGame.ai !== GoOpponent.none ? "Subnet owner: " : ""}{" "}
|
||||
{Go.currentGame.ai === GoOpponent.w0r1d_d43m0n ? (
|
||||
<CorruptableText content={Go.currentGame.ai} spoiler={false} />
|
||||
<CorruptibleText content={Go.currentGame.ai} spoiler={false} />
|
||||
) : (
|
||||
Go.currentGame.ai
|
||||
)}
|
||||
|
||||
@@ -11,7 +11,7 @@ import { getBonusText, getMaxRep } from "../effects/effect";
|
||||
import { formatNumber } from "../../ui/formatNumber";
|
||||
import { GoScoreSummaryTable } from "./GoScoreSummaryTable";
|
||||
import { getNewBoardState } from "../boardState/boardState";
|
||||
import { CorruptableText } from "../../ui/React/CorruptableText";
|
||||
import { CorruptibleText } from "../../ui/React/CorruptibleText";
|
||||
import { getRecordKeys } from "../../Types/Record";
|
||||
|
||||
export const GoHistoryPage = (): React.ReactElement => {
|
||||
@@ -54,7 +54,7 @@ export const GoHistoryPage = (): React.ReactElement => {
|
||||
{" "}
|
||||
<strong className={classes.keyText}>
|
||||
{faction === GoOpponent.w0r1d_d43m0n ? (
|
||||
<CorruptableText content="????????????" spoiler={false} />
|
||||
<CorruptibleText content="????????????" spoiler={false} />
|
||||
) : (
|
||||
faction
|
||||
)}
|
||||
|
||||
@@ -7,7 +7,7 @@ import { boardSizes, opponentDetails } from "../Constants";
|
||||
import { boardStyles } from "../boardState/goStyles";
|
||||
import { Modal } from "../../ui/React/Modal";
|
||||
import { getHandicap } from "../boardState/boardState";
|
||||
import { CorruptableText } from "../../ui/React/CorruptableText";
|
||||
import { CorruptibleText } from "../../ui/React/CorruptibleText";
|
||||
import { Settings } from "../../Settings/Settings";
|
||||
import { getOpponentStats } from "../boardAnalysis/scoring";
|
||||
import { showWorldDemon } from "../boardAnalysis/goAI";
|
||||
@@ -75,7 +75,7 @@ export const GoSubnetSearch = ({ open, search, cancel, showInstructions }: IProp
|
||||
{opponentFactions.map((faction) => (
|
||||
<MenuItem key={faction} value={faction}>
|
||||
{faction === GoOpponent.w0r1d_d43m0n ? (
|
||||
<CorruptableText content="???????????????" spoiler={false} />
|
||||
<CorruptibleText content="???????????????" spoiler={false} />
|
||||
) : (
|
||||
`${faction} (${opponentDetails[faction].description})`
|
||||
)}
|
||||
@@ -122,8 +122,8 @@ export const GoSubnetSearch = ({ open, search, cancel, showInstructions }: IProp
|
||||
<Typography>
|
||||
{opponent === GoOpponent.w0r1d_d43m0n ? (
|
||||
<>
|
||||
<CorruptableText content={opponentDetails[opponent].flavorText.slice(0, 40)} spoiler={false} />
|
||||
<CorruptableText content={opponentDetails[opponent].flavorText.slice(40)} spoiler={false} />
|
||||
<CorruptibleText content={opponentDetails[opponent].flavorText.slice(0, 40)} spoiler={false} />
|
||||
<CorruptibleText content={opponentDetails[opponent].flavorText.slice(40)} spoiler={false} />
|
||||
</>
|
||||
) : (
|
||||
opponentDetails[opponent].flavorText
|
||||
|
||||
Reference in New Issue
Block a user