summaryrefslogtreecommitdiff
path: root/resources/js/classes/Npc.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/js/classes/Npc.js')
-rw-r--r--resources/js/classes/Npc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/js/classes/Npc.js b/resources/js/classes/Npc.js
index 6121bce..82dba7e 100644
--- a/resources/js/classes/Npc.js
+++ b/resources/js/classes/Npc.js
@@ -5,7 +5,7 @@ class Npc {
constructor (slug) {
this.slug = slug;
- this.name = translate(slug) || slugToName(slug.replace('spyder_', ''));
+ this.name = translate(slug);
this.spriteName = DB.npcs[slug]?.template[0].sprite_name;
}