mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-16 21:32:18 +02:00
Added that the title will get made lower case so the rival is correctly set
This commit is contained in:
parent
9b94d64b78
commit
c96dbd43fe
@ -253,6 +253,9 @@ export class TrainerConfig {
|
||||
initI18n();
|
||||
}
|
||||
|
||||
// Make the title lowercase and replace spaces with underscores
|
||||
title = title.toLowerCase().replace(/\s/g, '_');
|
||||
|
||||
this.title = i18next.t(`titles:${title}`);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user