Merge pull request #1936 from TheCoderJT/issue1920

Issue1920
This commit is contained in:
hydroflame 2021-12-16 12:19:23 -05:00 committed by GitHub
commit b05645a61c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 executable 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;
} }