Fix grenades throwing (#1205)
Exceptions Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
parent
63f2724341
commit
ee209cd720
|
|
@ -408,7 +408,7 @@ namespace Content.Server.GameObjects
|
|||
{
|
||||
foreach (var entity in slot.ContainedEntities)
|
||||
{
|
||||
var exActs = entity.GetAllComponents<IExAct>();
|
||||
var exActs = entity.GetAllComponents<IExAct>().ToList();
|
||||
foreach (var exAct in exActs)
|
||||
{
|
||||
exAct.OnExplosion(eventArgs);
|
||||
|
|
|
|||
Loading…
Reference in New Issue