mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
adjusted the wording and added dynamic player server location
This commit is contained in:
parent
4836617745
commit
ac79d0aea4
@ -20,7 +20,8 @@ export function runProgram(
|
|||||||
const programName = args[0] + "";
|
const programName = args[0] + "";
|
||||||
|
|
||||||
if (!player.hasProgram(programName)) {
|
if (!player.hasProgram(programName)) {
|
||||||
terminal.error("No such (exe, script, js, or ns) file on home computer (Only programs that exist on your home computer can be run)");
|
terminal.error(`No such (exe, script, js, or ns) file! (Only programs that exist on your home computer or scripts on ${player.getCurrentServer().hostname
|
||||||
|
} can be run)`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user