replaced "&&" with "and".

This commit is contained in:
Harrison Deng 2021-05-03 16:12:15 -05:00
parent 2e23715e48
commit 57b36d0941

View File

@ -259,7 +259,7 @@ end
local function determineHeading()
sendLog(HEADING, "Calculating heading.")
if position == nil && locatePosition() then
if position == nil and locatePosition() then
sendLog(FAILED, "Unable to get current position.")
return
end