mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-22 14:26:01 +00:00
More Rubocop
This commit is contained in:
@@ -8,7 +8,7 @@ class Sprite_Reflection
|
||||
@event = event
|
||||
@height = 0
|
||||
@fixedheight = false
|
||||
if @event != $game_player && @event&.name[/reflection\((\d+)\)/i]
|
||||
if @event && @event != $game_player && @event.name[/reflection\((\d+)\)/i]
|
||||
@height = $~[1].to_i || 0
|
||||
@fixedheight = true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user