From 00007f968391388d412bb4fe851b73ba5631888c Mon Sep 17 00:00:00 2001 From: jvyden Date: Fri, 21 Jan 2022 05:41:55 -0500 Subject: [PATCH] Dont use in-game hashes as avatar --- ProjectLighthouse/Types/User.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectLighthouse/Types/User.cs b/ProjectLighthouse/Types/User.cs index e47b45a4..4ffcca3d 100644 --- a/ProjectLighthouse/Types/User.cs +++ b/ProjectLighthouse/Types/User.cs @@ -30,7 +30,7 @@ public class User get { string avatarHash = this.IconHash; - if (string.IsNullOrWhiteSpace(avatarHash)) avatarHash = this.YayHash; + if (string.IsNullOrWhiteSpace(avatarHash) || this.IconHash.StartsWith('g')) avatarHash = this.YayHash; if (string.IsNullOrWhiteSpace(avatarHash)) avatarHash = this.MehHash; if (string.IsNullOrWhiteSpace(avatarHash)) avatarHash = this.BooHash;