From 99fbdf04cc1d97fa1c500d7b40264c04d98fef7c Mon Sep 17 00:00:00 2001 From: Michael Shirt Date: Thu, 13 Oct 2016 00:34:29 -0600 Subject: [PATCH] Fixing a mistake with this script, should be checking for equality instead of inclusion --- scripts/Script.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Script.rb b/scripts/Script.rb index f2846ba..8f62c49 100644 --- a/scripts/Script.rb +++ b/scripts/Script.rb @@ -25,7 +25,7 @@ module Script def self.is_name_like_niko test_string = $game_oneshot.player_name.downcase - if ["nico", "nikko", "nicco", "nikoh", "nicoh"].any? { |name| test_string.include? name } + if ["nico", "nikko", "nicco", "nikoh", "nicoh"].any? { |name| test_string == name } return true end return false