mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-07-17 07:33:56 +00:00
Revert "Update CTLD.lua"
This commit is contained in:
@@ -5732,10 +5732,8 @@ function CTLD:_RefreshLoadCratesMenu(Group,Unit)
|
||||
local cargoByName={}
|
||||
for _,crate in pairs(nearby) do
|
||||
local name=crate:GetName()
|
||||
if name then
|
||||
cargoByName[name]=cargoByName[name] or{}
|
||||
table.insert(cargoByName[name],crate)
|
||||
end
|
||||
cargoByName[name]=cargoByName[name] or{}
|
||||
table.insert(cargoByName[name],crate)
|
||||
end
|
||||
|
||||
local lineIndex=1
|
||||
@@ -5748,7 +5746,7 @@ function CTLD:_RefreshLoadCratesMenu(Group,Unit)
|
||||
local label
|
||||
local loadkey = self.gettext:GetEntry("MENU_LOAD_SINGLE",self.locale)
|
||||
if left>=needed then
|
||||
label=string.format("%d. %s %s",cName, lineIndex,loadkey)
|
||||
label=string.format("%d. %s %s",lineIndex,loadkey, cName)
|
||||
i=i+needed
|
||||
else
|
||||
label=string.format("%d. %s %s (%d/%d)",lineIndex,loadkey, cName,left,needed)
|
||||
|
||||
Reference in New Issue
Block a user