Fix compile on chess
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Content.Shared.Tabletop
|
|||||||
return false;
|
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);
|
var inRange = playerEntity.InRangeUnobstructed(table);
|
||||||
|
|
||||||
return alive && inRange;
|
return alive && inRange;
|
||||||
|
|||||||
Reference in New Issue
Block a user