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); } });