无尽副本快速返回主城报错

dev_chengFeng
jiaoyangna 2021-06-10 20:16:44 +08:00
parent 529067bb2f
commit 04633b4ece
1 changed files with 3 additions and 0 deletions

View File

@ -312,6 +312,9 @@ function this.UpdateWarFog(u, v, fogSize)
transform.localScale = Vector3.New(_defaultTileSize.x / MapConst.tileWidth, _defaultTileSize.y / MapConst.tileHeight, 1)
Timer.New(function ()
if not _tileLivePool or not _tileLivePool[pos] then
return
end
if _tileLivePool[pos] then
local u, v = Map_Pos2UV(pos)
this.DrawTileBG(_tileLivePool[pos], this.GetTileData(u, v))