Skip to content
Snippets Groups Projects
Commit 45abbd8e authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'pregmod-dev' into 'pregmod-master'

Ripped out piece of code.

See merge request pregmodfan/fc-pregmod!7955
parents d6c9cbd7 2303ce41
No related branches found
No related tags found
1 merge request!7955Ripped out piece of code.
...@@ -262,7 +262,7 @@ App.Entity.Facilities.Facility = class { ...@@ -262,7 +262,7 @@ App.Entity.Facilities.Facility = class {
/** Facility display name /** Facility display name
* @returns {string} */ * @returns {string} */
get name() { get name() {
const res = V[this.desc.baseName].name || V[this.desc.baseName + "Name"]; const res = V[this.desc.baseName + "Name"];
return res !== undefined ? res : 'the ' + this.genericName; return res !== undefined ? res : 'the ' + this.genericName;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment