mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
CTLD - small correction for Hercules
This commit is contained in:
parent
4ff32342e3
commit
af79f63870
@ -1409,6 +1409,7 @@ function CTLD:_EventHandler(EventData)
|
|||||||
-- Herc support
|
-- Herc support
|
||||||
--self:T_unit:GetTypeName())
|
--self:T_unit:GetTypeName())
|
||||||
if _unit:GetTypeName() == "Hercules" and self.enableHercules then
|
if _unit:GetTypeName() == "Hercules" and self.enableHercules then
|
||||||
|
local unitname = event.IniUnitName or "none"
|
||||||
self.Loaded_Cargo[unitname] = nil
|
self.Loaded_Cargo[unitname] = nil
|
||||||
self:_RefreshF10Menus()
|
self:_RefreshF10Menus()
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user