mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 03:25:44 +02:00
add bn14 location
This commit is contained in:
@@ -31,11 +31,11 @@ export function CorruptableText(props: IProps): JSX.Element {
|
||||
counter = Math.random() * 5;
|
||||
const index = Math.random() * content.length;
|
||||
const letter = content.charAt(index);
|
||||
setContent(replace(content, index, randomize(letter)));
|
||||
setContent((content) => replace(content, index, randomize(letter)));
|
||||
setTimeout(() => {
|
||||
setContent(content);
|
||||
}, 50);
|
||||
}, 100);
|
||||
setContent((content) => replace(content, index, letter));
|
||||
}, 500);
|
||||
}, 20);
|
||||
|
||||
return () => {
|
||||
clearInterval(id);
|
||||
|
||||
Reference in New Issue
Block a user