Skip to content

Commit a49ef5e

Browse files
committed
Scripting: SoarNav: Fix LUA checker warnings (i hope)
1 parent 0a3723e commit a49ef5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/AP_Scripting/applets/SoarNav.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Script Parameters (SNAV_*)
124124

125125
--[[ SCRIPT INITIALIZATION ]]--
126126

127-
math.randomseed(tonumber(tostring(millis() or 0)))
127+
math.randomseed(tonumber(tostring(millis() or 0)) or 0)
128128

129129
-- Enums for GCS message severity and script internal state
130130
local MAV_SEVERITY = {

0 commit comments

Comments
 (0)