Made hack log msg consitent with grow and weaken

Changed hack log message from "executing target" to "executing on target".
This makes it consistent with grow and weaken; and reads better as well.
This commit is contained in:
zeddrak 2022-01-12 05:58:12 -08:00 committed by GitHub
parent e9db656e13
commit 4d0a5a43c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -335,7 +335,7 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS {
workerScript.log(
"hack",
() =>
`Executing ${hostname} in ${convertTimeMsToTimeElapsedString(
`Executing on '${server.hostname}' in ${convertTimeMsToTimeElapsedString(
hackingTime * 1000,
true,
)} (t=${numeralWrapper.formatThreads(threads)})`,