events: forced hats
parent
ed62326f30
commit
d464b9ede9
|
@ -259,6 +259,10 @@ class User(Base):
|
||||||
if not FEATURES['HATS']:
|
if not FEATURES['HATS']:
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
|
if HOLIDAY_EVENT:
|
||||||
|
from files.events.helpers.const import EVENT_FORCED_HAT
|
||||||
|
if EVENT_FORCED_HAT: return EVENT_FORCED_HAT
|
||||||
|
|
||||||
if self.is_cakeday:
|
if self.is_cakeday:
|
||||||
return '/i/hats/Cakeday.webp'
|
return '/i/hats/Cakeday.webp'
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
EVENT_AWARDS = {
|
EVENT_AWARDS = {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
EVENT_FORCED_HAT = None
|
||||||
|
|
Loading…
Reference in New Issue