mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Syntax
This commit is contained in:
parent
400ae46e03
commit
dca57c97de
@ -224,7 +224,7 @@ UTILS = {
|
||||
-- @return #boolean
|
||||
UTILS.IsInstanceOf = function( object, className )
|
||||
-- Is className NOT a string ?
|
||||
if not type( className ) == 'string' then
|
||||
if type( className ) ~= 'string' then
|
||||
|
||||
-- Is className a Moose class ?
|
||||
if type( className ) == 'table' and className.IsInstanceOf ~= nil then
|
||||
|
||||
@ -2167,7 +2167,7 @@ do -- Patrol methods
|
||||
-- @return #CONTROLLABLE
|
||||
function CONTROLLABLE:PatrolZones( ZoneList, Speed, Formation, DelayMin, DelayMax )
|
||||
|
||||
if not type( ZoneList ) == "table" then
|
||||
if type( ZoneList ) ~= "table" then
|
||||
ZoneList = { ZoneList }
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user