Update submodule.

This commit is contained in:
Pieter-Jan Briers
2019-08-11 01:23:08 +02:00
parent 7b9038e6da
commit 589d52158c
2 changed files with 2 additions and 2 deletions

View File

@@ -114,7 +114,7 @@ namespace Content.Shared.GameObjects
// This works for now though. // This works for now though.
public static IEnumerable<(IComponent, Verb)> GetVerbs(IEntity entity) public static IEnumerable<(IComponent, Verb)> GetVerbs(IEntity entity)
{ {
foreach (var component in entity.GetComponentInstances()) foreach (var component in entity.GetAllComponents())
{ {
var type = component.GetType(); var type = component.GetType();
foreach (var nestedType in type.GetNestedTypes(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static)) foreach (var nestedType in type.GetNestedTypes(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static))