mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Typo in extended_room contrib random_message_rate->room_message_rate
This commit is contained in:
parent
e4df3adb34
commit
bfe8631b87
1 changed files with 3 additions and 2 deletions
|
|
@ -139,6 +139,7 @@ class ExtendedRoom(DefaultRoom):
|
|||
echoed to the room at the given rate.
|
||||
|
||||
"""
|
||||
|
||||
# fallback description if nothing else is set
|
||||
fallback_desc = "You see nothing special."
|
||||
|
||||
|
|
@ -194,9 +195,9 @@ class ExtendedRoom(DefaultRoom):
|
|||
)
|
||||
|
||||
def _start_broadcast_repeat_task(self):
|
||||
if self.random_message_rate and self.random_messages and not self.ndb.broadcast_repeat_task:
|
||||
if self.room_message_rate and self.room_messages and not self.ndb.broadcast_repeat_task:
|
||||
self.ndb.broadcast_repeat_task = repeat(
|
||||
self.random_message_rate, self.repeat_broadcast_msg_to_room, persistent=False
|
||||
self.room_message_rate, self.repeat_broadcast_msg_to_room, persistent=False
|
||||
)
|
||||
|
||||
def at_init(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue