Fixed bug with Corporaiton healthcare. Fixed bug with new netscript 1.0 JS Interpreter properly throwing errors

This commit is contained in:
danielyxie
2018-07-15 13:03:33 -05:00
parent 2b38a8cd2a
commit c449dee97e
4 changed files with 4299 additions and 4241 deletions
+2 -3
View File
@@ -873,7 +873,7 @@ Industry.prototype.getProductDescriptionText = function() {
case Industries.Software:
return "develop computer software";
break;
case Industries.HealthCare:
case Industries.Healthcare:
return "build and manage hospitals";
break;
case Industries.RealEstate:
@@ -4233,7 +4233,7 @@ Corporation.prototype.displayDivisionContent = function(division, city) {
createProductButtonText = "Develop Software";
createProductPopupText = "Develop a new piece of software!";
break;
case Industries.HealthCare:
case Industries.Healthcare:
createProductButtonText = "Build Hospital";
createProductPopupText = "Build and manage a new hospital!";
break;
@@ -4924,4 +4924,3 @@ Corporation.fromJSON = function(value) {
Reviver.constructors.Corporation = Corporation;
export {Corporation};