mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-05 23:27:55 +02:00
fix corp softcap
This commit is contained in:
@@ -265,3 +265,9 @@ export function evaluateFilePath(path: string, currPath?: string): string | null
|
||||
|
||||
return "/" + reconstructedPath.join("/");
|
||||
}
|
||||
|
||||
export function areFilesEqual(f0: string, f1: string): boolean {
|
||||
if (!f0.startsWith("/")) f0 = "/" + f0;
|
||||
if (!f1.startsWith("/")) f1 = "/" + f1;
|
||||
return f0 === f1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user