mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 04:05:46 +01:00
BUGFIX: Fix Text Effect Preventing Company Name Updates (#1828)
This commit is contained in:
parent
37ddb43b82
commit
ff85394e02
@ -30,12 +30,12 @@ export function CorruptableText(props: CorruptableTextProps): JSX.Element {
|
||||
const [content, setContent] = useState(props.content);
|
||||
|
||||
useEffect(() => {
|
||||
setContent(props.content);
|
||||
|
||||
if (Settings.DisableTextEffects) {
|
||||
return;
|
||||
}
|
||||
|
||||
setContent(props.content);
|
||||
|
||||
let counter = 5;
|
||||
const timers: number[] = [];
|
||||
const intervalId = setInterval(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user