mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 06:48:42 +02:00
Fix check for "True Recursion" achievement (#827)
This commit is contained in:
@@ -14,7 +14,7 @@ const style = {
|
||||
export function BBCabinetRoot(): React.ReactElement {
|
||||
useEffect(() => {
|
||||
window.addEventListener("message", function (this: Window, ev: MessageEvent<boolean>) {
|
||||
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);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user