kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
pota spots now starts and runs automagically if spots is enabled
rodzic
aee8c8bb97
commit
7a6f6ecf6b
|
@ -13762,6 +13762,7 @@ var g_startupTable = [
|
|||
[registerHotKeys, "Registered Hotkeys"],
|
||||
[gtChatSystemInit, "Chat System Initialized"],
|
||||
[getPotaPlaces, "Loading POTA Database"],
|
||||
[getPotaSpots, "Starting POTA Spots Pump"],
|
||||
[downloadAcknowledgements, "Contributor Acknowledgements Loaded"],
|
||||
[postInit, "Finalizing System"]
|
||||
];
|
||||
|
|
|
@ -47,7 +47,7 @@ function ingestPotaSpots(buffer)
|
|||
|
||||
function getPotaSpots()
|
||||
{
|
||||
if (g_mapSettings.offlineMode == false)
|
||||
if (g_mapSettings.offlineMode == false && g_spotsEnabled == 1)
|
||||
{
|
||||
getBuffer(
|
||||
"https://api.pota.app/spot/activator",
|
||||
|
|
Ładowanie…
Reference in New Issue