ARTY v0.9.92

- adjusted DB
- other minor fixes and improvements
This commit is contained in:
funkyfranky
2018-06-05 00:28:52 +02:00
parent 0a34cfdafa
commit 8b667071b7
2 changed files with 98 additions and 46 deletions

View File

@@ -2651,8 +2651,10 @@ function CONTROLLABLE:OptionAlarmStateGreen()
if self:IsGround() then
Controller:setOption( AI.Option.Ground.id.ALARM_STATE, AI.Option.Ground.val.ALARM_STATE.GREEN )
elseif self:IsShip() then
Controller:setOption( AI.Option.Naval.id.ALARM_STATE, AI.Option.Naval.val.ALARM_STATE.GREEN )
elseif self:IsShip() then
-- AI.Option.Naval.id.ALARM_STATE does not seem to exist!
--Controller:setOption( AI.Option.Naval.id.ALARM_STATE, AI.Option.Naval.val.ALARM_STATE.GREEN )
Controller:setOption( AI.Option.Ground.id.ALARM_STATE, AI.Option.Ground.val.ALARM_STATE.GREEN )
end
return self