This commit is contained in:
DESKTOP-SAJ6RKV\Administrator 2025-06-27 11:55:11 +08:00
parent 56b40b075e
commit b18b3b95f5

View File

@ -35,6 +35,11 @@ namespace GameLogic
//m_Group.sprite = GameModule.Resource.LoadAsset<Sprite>("Z_lw_t_box_" + (giftConfig.Id - 1));
if (unitPlayerData == null)
{
Destroy(gameObject);
return;
}
Log.Debug("送礼玩家阵营id:" + unitPlayerData.teamId);