This commit is contained in:
Applevangelist 2023-10-12 10:54:00 +02:00
parent 400ae46e03
commit dca57c97de
2 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@ UTILS = {
-- @return #boolean -- @return #boolean
UTILS.IsInstanceOf = function( object, className ) UTILS.IsInstanceOf = function( object, className )
-- Is className NOT a string ? -- Is className NOT a string ?
if not type( className ) == 'string' then if type( className ) ~= 'string' then
-- Is className a Moose class ? -- Is className a Moose class ?
if type( className ) == 'table' and className.IsInstanceOf ~= nil then if type( className ) == 'table' and className.IsInstanceOf ~= nil then

View File

@ -2167,7 +2167,7 @@ do -- Patrol methods
-- @return #CONTROLLABLE -- @return #CONTROLLABLE
function CONTROLLABLE:PatrolZones( ZoneList, Speed, Formation, DelayMin, DelayMax ) function CONTROLLABLE:PatrolZones( ZoneList, Speed, Formation, DelayMin, DelayMax )
if not type( ZoneList ) == "table" then if type( ZoneList ) ~= "table" then
ZoneList = { ZoneList } ZoneList = { ZoneList }
end end