mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 22:54:59 +00:00
More Rubocop changes
This commit is contained in:
@@ -68,7 +68,7 @@ module Battle::AbilityEffects
|
||||
|
||||
def self.trigger(hash, *args, ret: false)
|
||||
new_ret = hash.trigger(*args)
|
||||
return (new_ret != nil) ? new_ret : ret
|
||||
return (!new_ret.nil?) ? new_ret : ret
|
||||
end
|
||||
|
||||
#=============================================================================
|
||||
|
||||
Reference in New Issue
Block a user