Fix a broken null check on .NET 6 RC 2
This commit is contained in:
@@ -46,7 +46,8 @@ namespace Content.Client.CharacterAppearance
|
||||
|
||||
private void UpdateLooks()
|
||||
{
|
||||
if (Appearance is null! ||
|
||||
// ReSharper disable once ConditionIsAlwaysTrueOrFalse
|
||||
if (Appearance == null ||
|
||||
!Owner.TryGetComponent(out SpriteComponent? sprite))
|
||||
{
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user