mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Resolved many Rubocop warnings
This commit is contained in:
@@ -72,7 +72,7 @@ module PBDayNight
|
||||
def self.getShade
|
||||
time = pbGetDayNightMinutes
|
||||
time = (24*60)-time if time>(12*60)
|
||||
shade=255*time/(12*60)
|
||||
return 255*time/(12*60)
|
||||
end
|
||||
|
||||
# Gets a Tone object representing a suggested shading
|
||||
@@ -97,7 +97,7 @@ module PBDayNight
|
||||
|
||||
# Internal function
|
||||
|
||||
def self.getToneInternal
|
||||
def getToneInternal
|
||||
# Calculates the tone for the current frame, used for day/night effects
|
||||
realMinutes = pbGetDayNightMinutes
|
||||
hour = realMinutes/60
|
||||
|
||||
Reference in New Issue
Block a user