Skip to content

Commit

Permalink
GAME._refresh也会清空缓存的模式数据
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Jul 15, 2024
1 parent 1e4629f commit 6101297
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/game/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ local GAME={
GAME.camera.moveSpeed=12

function GAME._refresh()
modeLib={}
mechLib=TABLE.newResourceTable(require'mechanicLib',function(path) return FILE.load(path,'-lua') end)
regFuncLib(mechLib,'mechLib')
end
Expand Down

0 comments on commit 6101297

Please sign in to comment.