issue https://github.com/SpudGunMan/meshing-around/issues/138
This commit is contained in:
SpudGunMan
2025-03-04 12:46:16 -08:00
parent 06d6855d92
commit e17dc79896
3 changed files with 8 additions and 1 deletions

View File

@@ -1077,6 +1077,7 @@ def onReceive(packet, interface):
replyIDset = False
emojiSeen = False
isDM = False
playingGame = False
if DEBUGpacket:
# Debug print the interface object

View File

@@ -26,7 +26,6 @@ max_retry_count2 = 4 # max retry count for interface 2
retry_int1 = False
retry_int2 = False
wiki_return_limit = 3 # limit the number of sentences returned off the first paragraph first hit
playingGame = False
GAMEDELAY = 28800 # 8 hours in seconds for game mode holdoff
cmdHistory = [] # list to hold the last commands
seenNodes = [] # list to hold the last seen nodes

View File

@@ -90,6 +90,13 @@ if location_enabled:
else:
# NOAA only features
help_message = help_message + ", wxa, tide, ealert"
# NOAA alerts needs location module
if wxAlertBroadcastEnabled or emergencyAlertBrodcastEnabled:
from modules.locationdata import * # from the spudgunman/meshing-around repo
# limited subset, this should be done better but eh..
trap_list = trap_list + ("wx", "wxc", "wxa", "wxalert", "ea", "ealert")
help_message = help_message + ", wxalert, ealert"
# BBS Configuration
if bbs_enabled: