fixed bomb
This commit is contained in:
parent
8e35a15691
commit
1b51bbbe0e
@ -1,9 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Units;
|
||||
using UnityEditor.SearchService;
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
using Object = UnityEngine.Object;
|
||||
using Random = UnityEngine.Random;
|
||||
|
@ -24,7 +24,7 @@ namespace Items
|
||||
{
|
||||
var enemy = collision.gameObject.GetComponent<UnitView>();
|
||||
|
||||
if (enemy != null && enemy.Color == _unit.Color)
|
||||
if (enemy != null && enemy.Color != _unit.Color)
|
||||
{
|
||||
|
||||
var vfx = VFXController.Instance.PlayEffect(hit, transform.position, Quaternion.identity);
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user