mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Code tidying with Rubocop
This commit is contained in:
@@ -234,7 +234,7 @@ end
|
||||
#===============================================================================
|
||||
# Moon phases and Zodiac
|
||||
#===============================================================================
|
||||
# Calculates the phase of the moon.
|
||||
# Calculates the phase of the moon. time is in UTC.
|
||||
# 0 - New Moon
|
||||
# 1 - Waxing Crescent
|
||||
# 2 - First Quarter
|
||||
@@ -243,7 +243,7 @@ end
|
||||
# 5 - Waning Gibbous
|
||||
# 6 - Last Quarter
|
||||
# 7 - Waning Crescent
|
||||
def moonphase(time = nil) # in UTC
|
||||
def moonphase(time = nil)
|
||||
time = pbGetTimeNow if !time
|
||||
transitions = [
|
||||
1.8456618033125,
|
||||
|
||||
Reference in New Issue
Block a user