移除三个不必要的collectgarbage

This commit is contained in:
MrZ626
2021-08-11 16:17:12 +08:00
parent 130de57d1a
commit df78225114
3 changed files with 0 additions and 3 deletions

View File

@@ -52,7 +52,6 @@ function SCN.swapUpdate()
S.time=S.time-1
if S.time==S.changeTime then
SCN.init(S.tar,SCN.cur)
collectgarbage()
--Scene swapped this moment
end
if S.time==0 then

View File

@@ -83,7 +83,6 @@ if type(_CC)=='table'then
if id then
CC.addNext(P.AI_bot,id)
end
collectgarbage()
end
end
-------------------------------------------------9 Stack setup

View File

@@ -213,7 +213,6 @@ function destroyPlayers()--Destroy all player objects, restore freerows and free
PLAYERS[i]=nil
end
TABLE.cut(PLY_ALIVE)
collectgarbage()
end
function pauseGame()
if not SCN.swapping then