public void Drop() { if (!CheckIfCanDrop()) { return; } PlayerBase homeBase = player.NearbyPlayerBase; if (homeBase != null) { homeBase.Snowballs++; } player.Inventory.Snowballs--; SoundManager.PlaySound(Sound.DropSnowball); PopUpManager.DroppedSnowballPopUp(homeBase); }