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"],
|
[registerHotKeys, "Registered Hotkeys"],
|
||||||
[gtChatSystemInit, "Chat System Initialized"],
|
[gtChatSystemInit, "Chat System Initialized"],
|
||||||
[getPotaPlaces, "Loading POTA Database"],
|
[getPotaPlaces, "Loading POTA Database"],
|
||||||
|
[getPotaSpots, "Starting POTA Spots Pump"],
|
||||||
[downloadAcknowledgements, "Contributor Acknowledgements Loaded"],
|
[downloadAcknowledgements, "Contributor Acknowledgements Loaded"],
|
||||||
[postInit, "Finalizing System"]
|
[postInit, "Finalizing System"]
|
||||||
];
|
];
|
||||||
|
|
|
@ -47,7 +47,7 @@ function ingestPotaSpots(buffer)
|
||||||
|
|
||||||
function getPotaSpots()
|
function getPotaSpots()
|
||||||
{
|
{
|
||||||
if (g_mapSettings.offlineMode == false)
|
if (g_mapSettings.offlineMode == false && g_spotsEnabled == 1)
|
||||||
{
|
{
|
||||||
getBuffer(
|
getBuffer(
|
||||||
"https://api.pota.app/spot/activator",
|
"https://api.pota.app/spot/activator",
|
||||||
|
|
Ładowanie…
Reference in New Issue