Fixed bugs with new option table.

This commit is contained in:
Frank
2020-08-01 00:25:12 +02:00
parent 286e34e057
commit 775b9e9fde
7 changed files with 93 additions and 76 deletions

View File

@@ -550,8 +550,8 @@ function NAVYGROUP:onafterSpawned(From, Event, To)
if self.ai then
-- Set default ROE and Alarmstate options.
self:SetOptionROE(self.roe)
self:SetOptionAlarmstate(self.alarmstate)
self:SwitchROE(self.option.ROE)
self:SwitchAlarmstate(self.option.Alarm)
end