Fix compile on chess

This commit is contained in:
Pieter-Jan Briers
2021-09-14 22:51:59 +02:00
parent 8b6c1c63d6
commit 15c5d5cf65

View File

@@ -41,7 +41,7 @@ namespace Content.Shared.Tabletop
return false;
}
var alive = playerEntity.TryGetComponent<SharedMobStateComponent>(out var mob) && mob.IsAlive();
var alive = playerEntity.TryGetComponent<MobStateComponent>(out var mob) && mob.IsAlive();
var inRange = playerEntity.InRangeUnobstructed(table);
return alive && inRange;