From f4cd4b3362bf30910d393c36e73dac51b3fdbd05 Mon Sep 17 00:00:00 2001 From: Jesse Clark Date: Mon, 2 Oct 2023 22:29:09 -0700 Subject: [PATCH] Fix check for "True Recursion" achievement (#827) --- src/Arcade/ui/BBCabinet.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Arcade/ui/BBCabinet.tsx b/src/Arcade/ui/BBCabinet.tsx index 82407d339..0d31add33 100644 --- a/src/Arcade/ui/BBCabinet.tsx +++ b/src/Arcade/ui/BBCabinet.tsx @@ -14,7 +14,7 @@ const style = { export function BBCabinetRoot(): React.ReactElement { useEffect(() => { window.addEventListener("message", function (this: Window, ev: MessageEvent) { - if (ev.isTrusted && ev.origin == "https://bitburner-official.github.io" && ev.data) { + if (ev.isTrusted && ev.origin == "https://bitburner-official.github.io" && ev.data === true) { Player.giveExploit(Exploit.TrueRecursion); } });