Compatibility fix for lua5.4

This commit is contained in:
Raffson 2024-03-01 22:11:14 +01:00
parent 9e1a642eb2
commit 95580a6cef
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -80,6 +80,14 @@ def beacons_from_terrain(dcs_path: Path, path: Path) -> Iterable[tuple[str, Beac
)
)
lua.execute(
textwrap.dedent(
"""
function math.pow(x,y) return x^y end
"""
)
)
bind_gettext = lua.eval(
textwrap.dedent(
"""\