Fix Lua script to use new API from 0a01acc86a
This commit is contained in:
parent
cd3c65fbda
commit
f2ceaecc4d
@ -27,7 +27,7 @@ function factory ()
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local mloc = loc:first_mark_at(mpos, Temporal.timecnt_t(0))
|
local mloc = loc:mark_at(mpos, Temporal.timecnt_t(0), 0)
|
||||||
if not mloc then
|
if not mloc then
|
||||||
-- no marker found at that location
|
-- no marker found at that location
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user