1
This commit is contained in:
@@ -23,7 +23,7 @@ namespace BITFALL.Props
|
||||
|
||||
public virtual async void Explosion(GameObject root = null)
|
||||
{
|
||||
var damaged = ListPool<ulong>.Get();
|
||||
var damaged = ListPool<int>.Get();
|
||||
|
||||
DI.Get<VFXService>().Spawn(new Location(transform), vfxTags.Select(x => x.Value).ToArray());
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace BITFALL.Props
|
||||
}
|
||||
|
||||
damaged.Clear();
|
||||
ListPool<ulong>.Release(damaged);
|
||||
ListPool<int>.Release(damaged);
|
||||
PhysicsHelper.Explosion(transform.position, explosionRadius, physicsLayer, 1024 * 8);
|
||||
Destroy(gameObject);
|
||||
if (root)
|
||||
|
Reference in New Issue
Block a user