mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 02:36:32 +01:00
Small fix to seasonal rotation in extended room contrib.
This commit is contained in:
parent
0e9b27cc01
commit
5a1642ab32
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ class ExtendedRoom(Room):
|
|||
# figure out which slots these represent
|
||||
if SEASONAL_BOUNDARIES[0] <= season < SEASONAL_BOUNDARIES[1]: curr_season = "spring"
|
||||
elif SEASONAL_BOUNDARIES[1] <= season < SEASONAL_BOUNDARIES[2]: curr_season = "summer"
|
||||
elif SEASONAL_BOUNDARIES[2] <= season < SEASONAL_BOUNDARIES[3]: curr_season = "autumn"
|
||||
elif SEASONAL_BOUNDARIES[2] <= season < 1.0 + SEASONAL_BOUNDARIES[0]: curr_season = "autumn"
|
||||
else: curr_season = "winter"
|
||||
|
||||
if DAY_BOUNDARIES[0] <= timeslot < DAY_BOUNDARIES[1]: curr_timeslot = "night"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue