mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-22 14:56:17 +00:00
Fixing a mistake with this script, should be checking for equality instead of inclusion
This commit is contained in:
parent
8314371b4f
commit
99fbdf04cc
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ module Script
|
||||||
|
|
||||||
def self.is_name_like_niko
|
def self.is_name_like_niko
|
||||||
test_string = $game_oneshot.player_name.downcase
|
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
|
return true
|
||||||
end
|
end
|
||||||
return false
|
return false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue