Fix grenades throwing (#1205)
Exceptions Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user