mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-25 02:32:55 +02:00
DNET: Tweaks from player feedback (#2593)
This commit is contained in:
committed by
GitHub
parent
38d5f3b364
commit
fdd6d65c25
@@ -21,6 +21,7 @@ import { getPasswordType } from "../DarkNet/controllers/ServerGenerator";
|
||||
import { checkPassword, getAuthResult, isAuthenticated } from "../DarkNet/effects/authentication";
|
||||
import {
|
||||
getLabMaze,
|
||||
getPositionInLab,
|
||||
getLabyrinthDetails,
|
||||
getLabyrinthLocationReport,
|
||||
getSurroundingsVisualized,
|
||||
@@ -695,7 +696,7 @@ export function NetscriptDarknet(): InternalAPI<DarknetAPI> {
|
||||
const authenticationTime = calculateAuthenticationTime(lab, Player, ctx.workerScript.scriptRef.threads);
|
||||
await helpers.netscriptDelay(ctx, authenticationTime);
|
||||
|
||||
const [x, y] = DarknetState.labLocations[pid] ?? [1, 1];
|
||||
const [x, y] = getPositionInLab(pid);
|
||||
return {
|
||||
success: true,
|
||||
message: getSurroundingsVisualized(getLabMaze(), x, y, 3, true, true),
|
||||
|
||||
Reference in New Issue
Block a user