整理代码,部分全局变量声明移入Zframework中

This commit is contained in:
MrZ626
2021-04-28 13:51:56 +08:00
parent 28576c2c9a
commit fcae6c61e4
6 changed files with 10 additions and 9 deletions

View File

@@ -114,7 +114,7 @@ end
local SYSFX={}
function SYSFX.update(dt)
for i=#fx,1,-1 do
if fx[i]:update(dt) then
if fx[i]:update(dt)then
rem(fx,i)
end
end