mirror of
https://github.com/ciribob/DCS-CTLD.git
synced 2025-08-15 06:17:22 +00:00
Change back to _crateUnitName
This commit is contained in:
parent
fef17930b9
commit
f96aa3424e
6
CTLD.lua
6
CTLD.lua
@ -2857,12 +2857,12 @@ function ctld.checkHoverStatus()
|
||||
ctld.displayMessageToGroup(_transUnit, "Loaded " .. _crate.details.desc .. " crate!", 10,true)
|
||||
|
||||
--crates been moved once!
|
||||
ctld.crateMove[_crate] = nil
|
||||
ctld.crateMove[_crateUnitName] = nil
|
||||
|
||||
if _transUnit:getCoalition() == 1 then
|
||||
ctld.spawnedCratesRED[_crate] = nil
|
||||
ctld.spawnedCratesRED[_crateUnitName] = nil
|
||||
else
|
||||
ctld.spawnedCratesBLUE[_crate] = nil
|
||||
ctld.spawnedCratesBLUE[_crateUnitName] = nil
|
||||
end
|
||||
|
||||
_crate.crateUnit:destroy()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user