public void AddRewardPickup(Coop_Model_RewardPickup model) { if (model.rewardKeyId != 0) { Reward reward = GetReward(model.rewardId); if (reward != null) { reward.AddPickup(model); Save(); } } }
public void AddRewardPickup(Coop_Model_RewardPickup model) { if (model.rewardKeyId != 0) { Reward reward = GetReward(model.rewardId); if (reward != null) { reward.AddPickup(model); Save(); } } }