From 4b38d296a861ae3d06d6f890f4181e8f3497990a Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Sat, 21 Aug 2021 02:10:58 -0400 Subject: [PATCH] Fix corp industry wrong initial value. --- src/Corporation/Corporation.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Corporation/Corporation.jsx b/src/Corporation/Corporation.jsx index d35c68701..37c530ec9 100644 --- a/src/Corporation/Corporation.jsx +++ b/src/Corporation/Corporation.jsx @@ -119,7 +119,7 @@ function Industry(params={}) { }; this.name = params.name ? params.name : 0; - this.type = params.type ? params.type : 0; + this.type = params.type ? params.type : Industries.Agriculture; this.sciResearch = new Material({name: "Scientific Research"}); this.researched = {}; // Object of acquired Research. Keys = research name