Merge pull request #158 from danielyxie/dev

Fixed Netscript error message typos
This commit is contained in:
danielyxie 2017-11-02 22:32:54 -05:00 committed by GitHub
commit f487128ac5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 10 deletions

10
dist/bundle.js vendored

@ -23037,7 +23037,7 @@ function NetscriptFunctions(workerScript) {
} }
} }
if (__WEBPACK_IMPORTED_MODULE_13__Missions_js__["c" /* inMission */]) { if (__WEBPACK_IMPORTED_MODULE_13__Missions_js__["c" /* inMission */]) {
workerScript.scriptRef.log("ERROR: universityCourse() failed because you are in the middle of a mission."); workerScript.scriptRef.log("ERROR: gymWorkout() failed because you are in the middle of a mission.");
return; return;
} }
if (__WEBPACK_IMPORTED_MODULE_14__Player_js__["a" /* Player */].isWorking) { if (__WEBPACK_IMPORTED_MODULE_14__Player_js__["a" /* Player */].isWorking) {
@ -23368,7 +23368,7 @@ function NetscriptFunctions(workerScript) {
} }
if (__WEBPACK_IMPORTED_MODULE_13__Missions_js__["c" /* inMission */]) { if (__WEBPACK_IMPORTED_MODULE_13__Missions_js__["c" /* inMission */]) {
workerScript.scriptRef.log("ERROR: universityCourse() failed because you are in the middle of a mission."); workerScript.scriptRef.log("ERROR: workForCompany() failed because you are in the middle of a mission.");
return; return;
} }
@ -23526,7 +23526,7 @@ function NetscriptFunctions(workerScript) {
} }
if (__WEBPACK_IMPORTED_MODULE_13__Missions_js__["c" /* inMission */]) { if (__WEBPACK_IMPORTED_MODULE_13__Missions_js__["c" /* inMission */]) {
workerScript.scriptRef.log("ERROR: universityCourse() failed because you are in the middle of a mission."); workerScript.scriptRef.log("ERROR: workForFaction() failed because you are in the middle of a mission.");
return; return;
} }
@ -23626,7 +23626,7 @@ function NetscriptFunctions(workerScript) {
} }
} }
if (__WEBPACK_IMPORTED_MODULE_13__Missions_js__["c" /* inMission */]) { if (__WEBPACK_IMPORTED_MODULE_13__Missions_js__["c" /* inMission */]) {
workerScript.scriptRef.log("ERROR: universityCourse() failed because you are in the middle of a mission."); workerScript.scriptRef.log("ERROR: createProgram() failed because you are in the middle of a mission.");
return; return;
} }
if (__WEBPACK_IMPORTED_MODULE_14__Player_js__["a" /* Player */].isWorking) { if (__WEBPACK_IMPORTED_MODULE_14__Player_js__["a" /* Player */].isWorking) {
@ -23716,7 +23716,7 @@ function NetscriptFunctions(workerScript) {
} }
} }
if (__WEBPACK_IMPORTED_MODULE_13__Missions_js__["c" /* inMission */]) { if (__WEBPACK_IMPORTED_MODULE_13__Missions_js__["c" /* inMission */]) {
workerScript.scriptRef.log("ERROR: universityCourse() failed because you are in the middle of a mission."); workerScript.scriptRef.log("ERROR: commitCrime() failed because you are in the middle of a mission.");
return; return;
} }
if (__WEBPACK_IMPORTED_MODULE_14__Player_js__["a" /* Player */].isWorking) { if (__WEBPACK_IMPORTED_MODULE_14__Player_js__["a" /* Player */].isWorking) {

@ -1460,7 +1460,7 @@ function NetscriptFunctions(workerScript) {
} }
} }
if (inMission) { if (inMission) {
workerScript.scriptRef.log("ERROR: universityCourse() failed because you are in the middle of a mission."); workerScript.scriptRef.log("ERROR: gymWorkout() failed because you are in the middle of a mission.");
return; return;
} }
if (Player.isWorking) { if (Player.isWorking) {
@ -1791,7 +1791,7 @@ function NetscriptFunctions(workerScript) {
} }
if (inMission) { if (inMission) {
workerScript.scriptRef.log("ERROR: universityCourse() failed because you are in the middle of a mission."); workerScript.scriptRef.log("ERROR: workForCompany() failed because you are in the middle of a mission.");
return; return;
} }
@ -1949,7 +1949,7 @@ function NetscriptFunctions(workerScript) {
} }
if (inMission) { if (inMission) {
workerScript.scriptRef.log("ERROR: universityCourse() failed because you are in the middle of a mission."); workerScript.scriptRef.log("ERROR: workForFaction() failed because you are in the middle of a mission.");
return; return;
} }
@ -2049,7 +2049,7 @@ function NetscriptFunctions(workerScript) {
} }
} }
if (inMission) { if (inMission) {
workerScript.scriptRef.log("ERROR: universityCourse() failed because you are in the middle of a mission."); workerScript.scriptRef.log("ERROR: createProgram() failed because you are in the middle of a mission.");
return; return;
} }
if (Player.isWorking) { if (Player.isWorking) {
@ -2139,7 +2139,7 @@ function NetscriptFunctions(workerScript) {
} }
} }
if (inMission) { if (inMission) {
workerScript.scriptRef.log("ERROR: universityCourse() failed because you are in the middle of a mission."); workerScript.scriptRef.log("ERROR: commitCrime() failed because you are in the middle of a mission.");
return; return;
} }
if (Player.isWorking) { if (Player.isWorking) {