Fixing a mistake with this script, should be checking for equality instead of inclusion
This commit is contained in:
parent
8314371b4f
commit
99fbdf04cc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue