This commit is contained in:
SpudGunMan
2024-10-04 17:31:37 -07:00
parent ee49f69231
commit fe9c63387b
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -151,7 +151,8 @@ try:
signalCooldown = config['radioMon'].getint('signalCooldown', 5) # default 1 second
signalCycleLimit = config['radioMon'].getint('signalCycleLimit', 5) # default 5 cycles, used with SIGNAL_COOLDOWN
# games
#
game_hop_limit = config['messagingSettings'].getint('game_hop_limit', 5) # default 3 hops
dopewars_enabled = config['games'].getboolean('dopeWars', True)
lemonade_enabled = config['games'].getboolean('lemonade', True)
blackjack_enabled = config['games'].getboolean('blackjack', True)
@@ -164,7 +165,6 @@ try:
responseDelay = config['messagingSettings'].getfloat('responseDelay', 0.7) # default 0.7
splitDelay = config['messagingSettings'].getfloat('splitDelay', 0) # default 0
MESSAGE_CHUNK_SIZE = config['messagingSettings'].getint('MESSAGE_CHUNK_SIZE', 160) # default 160
game_hop_limit = config['messagingSettings'].getint('game_hop_limit', 5) # default 3 hops
except KeyError as e:
print(f"System: Error reading config file: {e}")