Fix AoEHealSystem.cs (#2270)
This commit is contained in:
parent
cd8144cea7
commit
f46bbb09ef
1 changed files with 2 additions and 2 deletions
|
|
@ -29,8 +29,8 @@ public sealed class AoEHealSystem : EntitySystem
|
|||
return;
|
||||
_prev = _timing.CurTime;
|
||||
|
||||
var query = EntityQueryEnumerator<TransformComponent, AoEHealComponent>();
|
||||
while (query.MoveNext(out _, out var xform, out var aoEHealComponent))
|
||||
var query = EntityQueryEnumerator<AoEHealComponent, TransformComponent>();
|
||||
while (query.MoveNext(out var uid, out var aoEHealComponent, out var xform))
|
||||
{
|
||||
var targetsQuery =
|
||||
_lookupSystem.GetEntitiesInRange<DamageableComponent>(xform.Coordinates, aoEHealComponent.Range);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue