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

@@ -21,7 +21,7 @@ def pbCaveEntranceEx(exiting)
y = 0
# Calculate color of each band
totalBands.times do |k|
grays[k] = lerp(start_gray, end_gray, duration, timer_start + k * duration / totalBands, System.uptime)
grays[k] = lerp(start_gray, end_gray, duration, timer_start + (k * duration / totalBands), System.uptime)
end
# Draw gray rectangles
rectwidth = Graphics.width