add flag comments

This commit is contained in:
liamcottle
2024-09-09 13:45:11 +12:00
parent 2aec144e91
commit ce4895bb8c

View File

@ -734,6 +734,7 @@ client.on("message", async (topic, message) => {
} }
} }
// don't collect position history if not enabled, but we still want to update the node above
if(!collectPositions){ if(!collectPositions){
return; return;
} }
@ -1170,6 +1171,7 @@ client.on("message", async (topic, message) => {
console.error(e); console.error(e);
} }
// don't collect map report history if not enabled, but we still want to update the node above
if(!collectMapReports){ if(!collectMapReports){
return; return;
} }