diff --git a/Moose Development/Moose/Wrapper/Controllable.lua b/Moose Development/Moose/Wrapper/Controllable.lua index 3932b67a8..2623dc6d5 100644 --- a/Moose Development/Moose/Wrapper/Controllable.lua +++ b/Moose Development/Moose/Wrapper/Controllable.lua @@ -5733,6 +5733,14 @@ function CONTROLLABLE:DisableIRMarkerForGroup() return self end +--- [GROUND] Check if an IR Spot exists. +-- @param #CONTROLLABLE self +-- @return #boolean outcome +function CONTROLLABLE:HasIRMarker() + if self.spot then return true end + return false +end + --- [Internal] This method is called by the scheduler after enabling the IR marker. -- @param #CONTROLLABLE self -- @return #CONTROLLABLE self