Fix non-ghosts and admins counting toward most followed (#28120)
* Fixed non-ghosts and admins counting toward most followed * Redone to better leverage EntityQueryEnumerator * Remember to test your code before you commit it, kids * Review revisions * Update Content.Shared/Follower/FollowerSystem.cs Co-authored-by: ShadowCommander <shadowjjt@gmail.com> * Update Content.Shared/Follower/FollowerSystem.cs Co-authored-by: ShadowCommander <shadowjjt@gmail.com> * Update Content.Shared/Follower/FollowerSystem.cs * Clean up --------- Co-authored-by: ShadowCommander <shadowjjt@gmail.com> Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
This commit is contained in:
@@ -306,7 +306,7 @@ namespace Content.Server.Ghost
|
||||
return;
|
||||
}
|
||||
|
||||
if (_followerSystem.GetMostFollowed() is not {} target)
|
||||
if (_followerSystem.GetMostGhostFollowed() is not {} target)
|
||||
return;
|
||||
|
||||
WarpTo(uid, target);
|
||||
|
||||
Reference in New Issue
Block a user