CTLD - small correction for Hercules

This commit is contained in:
Applevangelist 2022-01-27 15:56:10 +01:00
parent 4ff32342e3
commit af79f63870

View File

@ -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