mirror of
https://github.com/weyne85/MIST.git
synced 2025-10-29 16:56:32 +00:00
markid fix
FIXED: returning markId rather than id
This commit is contained in:
2
mist.lua
2
mist.lua
@@ -7798,7 +7798,7 @@ do
|
||||
else
|
||||
for mEntry, mData in pairs(mist.DBs.markList) do
|
||||
if id == mData.name or id == mData.id then
|
||||
return mData.id
|
||||
return mData.markId
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -7798,7 +7798,7 @@ do
|
||||
else
|
||||
for mEntry, mData in pairs(mist.DBs.markList) do
|
||||
if id == mData.name or id == mData.id then
|
||||
return mData.id
|
||||
return mData.markId
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -7953,7 +7953,7 @@ do
|
||||
|
||||
if markForCoa then
|
||||
if type(markForCoa) == 'string' then
|
||||
log:warn("coa is string")
|
||||
--log:warn("coa is string")
|
||||
if tonumber(markForCoa) then
|
||||
coa = coas[tonumber(markForCoa)]
|
||||
markScope = 'coa'
|
||||
|
||||
Reference in New Issue
Block a user