mirror of
https://github.com/akaAgar/the-universal-mission-for-dcs-world.git
synced 2025-11-25 19:31:01 +00:00
Fixed bug in DCSEx.world.getMarkerByText
This commit is contained in:
parent
46cea8eba9
commit
59dbe9f3a0
@ -249,9 +249,9 @@ do
|
||||
function DCSEx.world.getMarkerByText(text, coalition)
|
||||
if not text then return nil end
|
||||
text = text:lower()
|
||||
local markers = DCSEx.world.getMarkPanels()
|
||||
local markers = world.getMarkPanels()
|
||||
|
||||
for _,m in pairs(markers) do
|
||||
for _,m in ipairs(markers) do
|
||||
local markerText = m.text or ""
|
||||
markerText = markerText:lower()
|
||||
if markerText == text then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user