Move bombsspawner in ammo package
This commit is contained in:
parent
1273981a38
commit
f03fa7f8a0
3 changed files with 4 additions and 1 deletions
|
@ -48,7 +48,10 @@ namespace src.Ammo
|
|||
else
|
||||
{
|
||||
var key = hit.collider.GetComponent<IExplosable>();
|
||||
if(key != null)
|
||||
{
|
||||
key.onExplosion();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue