Magboots ECS and Cleanup (#9245)

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
Nemanja
2022-07-06 07:46:35 -04:00
committed by GitHub
parent f6da17d7d9
commit 6d9bc04487
8 changed files with 141 additions and 168 deletions

View File

@@ -60,7 +60,7 @@ namespace Content.Shared.Movement.Components
if (invSys.TryGetSlotEntity(entity, "shoes", out var ent))
{
if (entityManager.TryGetComponent<SharedMagbootsComponent>(ent, out var boots) && boots.On)
if (entityManager.TryGetComponent<MagbootsComponent>(ent, out var boots) && boots.On)
return false;
}