mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
Medibot doAfter and some other improvements (#32932)
* Medibot doAfter and some other improvements * Clean-up * Review fixes * the army of medibots chasing someone is really funny * misc cleanup --------- Co-authored-by: SlamBamActionman <slambamactionman@gmail.com> Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
This commit is contained in:
committed by
Coryler
co-authored by
SlamBamActionman
ArtisticRoomba
parent
12a7a2de67
commit
70874e4cae
@@ -602,4 +602,12 @@ public readonly record struct UtilityResult(Dictionary<EntityUid, float> Entitie
|
||||
|
||||
return Entities.MinBy(x => x.Value).Key;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns a GetEnumerable sorted in descending score.
|
||||
/// </summary>
|
||||
public IEnumerable<KeyValuePair<EntityUid, float>> GetEnumerable()
|
||||
{
|
||||
return Entities.OrderByDescending(x => x.Value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user