fix for case sensitivity not registering many of the terms into the journal
This commit is contained in:
parent
fba30998c4
commit
578d791176
1 changed files with 1 additions and 1 deletions
|
|
@ -1338,7 +1338,7 @@ function Window_GlossaryComplete() {
|
|||
Game_Party.prototype.gainGlossaryFromText = function(text, likeFlag) {
|
||||
this.getAllHiddenGlossaryList().forEach(function(item) {
|
||||
if (!this.hasItem(item) && this.isAutoGlossaryWord(item)) {
|
||||
if (likeFlag && !text.contains(item.name)) {
|
||||
if (likeFlag && !text.toLowerCase().contains(item.name.toLowerCase())) {
|
||||
return;
|
||||
}
|
||||
if (!likeFlag && text !== item.name) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue