Fix: memory leak connected to lua 5.0 vaarargs

This commit is contained in:
Bluewhale1337
2026-07-26 15:47:37 +02:00
parent 1a100c4f0a
commit 1eb39c9969
19 changed files with 40 additions and 38 deletions
+3 -3
View File
@@ -368,9 +368,9 @@ local function onUpdate(self, elapsed)
end
end
local function Update(self, ...)
SPELLCAST_START(self, unpack(arg))
return SPELLCAST_CHANNEL_START(self, unpack(arg))
local function Update(self, event, a, b, c, d, e)
SPELLCAST_START(self, event, a, b, c, d, e)
return SPELLCAST_CHANNEL_START(self, event, a, b, c, d, e)
end
local function ForceUpdate(element)