Update Animation.lua

This commit is contained in:
Robert Jelic
2022-08-26 21:18:02 +02:00
parent b6c5531290
commit 92e91b7d6b

View File

@@ -428,7 +428,7 @@ return function(name)
if (animations[index].t > 0) then
timerObj = os.startTimer(animations[index].t)
else
onPlay()
onPlay(self)
end
else
self:animationDoneHandler()