feat: Enhance GPS position update logging with success and failure messages
This commit is contained in:
@@ -101,7 +101,10 @@ local function updateMyPosition()
|
||||
position = myPosition,
|
||||
timestamp = os.epoch("utc")
|
||||
})
|
||||
addLog("GPS: " .. x .. "," .. y .. "," .. z, colors.lime)
|
||||
return true
|
||||
else
|
||||
addLog("GPS: Failed to locate", colors.red)
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user