mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 14:12:27 +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] + "";
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user