Code tidying with Rubocop

This commit is contained in:
Maruno17
2023-07-18 22:42:10 +01:00
parent 6053363715
commit a5734eaf46
68 changed files with 276 additions and 232 deletions

View File

@@ -105,7 +105,8 @@ class Sprite_Shadow < RPG::Sprite
end
end
def in_range?(element, object, range) # From Near's Anti Lag Script, edited
# From Near's Anti Lag Script, edited.
def in_range?(element, object, range)
elemScreenX = ScreenPosHelper.pbScreenX(element)
elemScreenY = ScreenPosHelper.pbScreenY(element)
objScreenX = ScreenPosHelper.pbScreenX(object)