mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
comment
This commit is contained in:
parent
c9565a2263
commit
9f14f2b863
@ -36,9 +36,9 @@ export function NetscriptExtra(player: IPlayer, workerScript: WorkerScript): INe
|
||||
real_document.completely_unused_field = undefined;
|
||||
},
|
||||
alterReality: function (): void {
|
||||
// eval so the code doesn't get optimized away.
|
||||
const x = eval("false");
|
||||
console.warn("I am sure that this variable is false.");
|
||||
// add Math.random so webpack doesn't optimise the if away
|
||||
if (x !== false) {
|
||||
console.warn("Reality has been altered!");
|
||||
player.giveExploit(Exploit.RealityAlteration);
|
||||
|
Loading…
Reference in New Issue
Block a user