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
|
||||
--self:T_unit:GetTypeName())
|
||||
if _unit:GetTypeName() == "Hercules" and self.enableHercules then
|
||||
local unitname = event.IniUnitName or "none"
|
||||
self.Loaded_Cargo[unitname] = nil
|
||||
self:_RefreshF10Menus()
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user