Fixing a mistake with this script, should be checking for equality instead of inclusion

This commit is contained in:
Michael Shirt 2016-10-13 00:34:29 -06:00
parent 8314371b4f
commit 99fbdf04cc

View file

@ -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