mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Update CTLD.lua
Removed the block from partly drop 1. It's not helpful for the user to have 1 incomplete a set of crates onboard. With this line removed, If someone loads 2 items, and second item is not completed, due to crate limit or due weight, player can unload the uncomplete set.
This commit is contained in:
parent
fa0ce0927b
commit
5ad54648ab
@ -4397,10 +4397,6 @@ function CTLD:_UnloadSingleCrate(Group, Unit, CrateName)
|
||||
table.insert(matched, cObj)
|
||||
end
|
||||
end
|
||||
if #matched < needed then
|
||||
self:_SendMessage(string.format("You only have %d of %d %s crates needed!", #matched, needed, CrateName), 10, false, Group)
|
||||
return self
|
||||
end
|
||||
local crateToUse = matched[1]
|
||||
self:_GetCrates(Group, Unit, crateToUse, needed, true)
|
||||
local used = 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user