whitespace
This commit is contained in:
1 parent
3c96d6a2bc
commit
d528c1f342
1 file changed
+5
-5
@@ -57,18 +57,18 @@ function Scaleform.Run(scaleform, onUpdate)
|
|||||||
if runningScaleform then return end
|
if runningScaleform then return end
|
||||||
runningScaleform = scaleform
|
runningScaleform = scaleform
|
||||||
CreateThread(function()
|
CreateThread(function()
|
||||||
while runningScaleform do
|
while runningScaleform do
|
||||||
DrawScaleformMovieFullscreen(scaleform, 255, 255, 255, 255, 0)
|
DrawScaleformMovieFullscreen(scaleform, 255, 255, 255, 255, 0)
|
||||||
if onUpdate then
|
if onUpdate then
|
||||||
shouldQuit = onUpdate()
|
shouldQuit = onUpdate()
|
||||||
if shouldQuit then
|
if shouldQuit then
|
||||||
Scaleform.Stop()
|
Scaleform.Stop()
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
Wait(2)
|
Wait(2)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
function Scaleform.Stop()
|
function Scaleform.Stop()
|
||||||
|
|||||||
Reference in new issue
Block a user