From 70b4ebdf831fb601296a3341f8a002344e9855cb Mon Sep 17 00:00:00 2001 From: jiaoyangna <3046463818@qq.com> Date: Wed, 21 Apr 2021 14:31:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=B9=E9=94=99=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Fight/View/FightPointMapView.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Fight/View/FightPointMapView.lua b/Assets/ManagedResources/~Lua/Modules/Fight/View/FightPointMapView.lua index 96191fbb73..e341b829ff 100644 --- a/Assets/ManagedResources/~Lua/Modules/Fight/View/FightPointMapView.lua +++ b/Assets/ManagedResources/~Lua/Modules/Fight/View/FightPointMapView.lua @@ -447,7 +447,9 @@ function this.StopAction() for k,v in pairs(this.playerViews) do v:StopAction() end - this.moneyEffect.gameObject:SetActive(false) + if this.moneyEffect then + this.moneyEffect.gameObject:SetActive(false) + end if this.threads then for k,v in pairs(this.threads) do coroutine.stop(v)