]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix "no materials loaded" messege in lathes (#28885)
authorDeserty0 <86846189+Deserty0@users.noreply.github.com>
Wed, 12 Jun 2024 10:32:11 +0000 (20:32 +1000)
committerGitHub <noreply@github.com>
Wed, 12 Jun 2024 10:32:11 +0000 (13:32 +0300)
fix

Content.Client/Materials/UI/MaterialStorageControl.xaml.cs

index 31d99624a8a7bc535affb838f4a1672dba4354b7..0237b86db76d4fcd66e7a20a413bc0e58e392b26 100644 (file)
@@ -87,6 +87,6 @@ public sealed partial class MaterialStorageControl : ScrollContainer
         }
 
         _currentMaterials = mats;
-        NoMatsLabel.Visible = ChildCount == 1;
+        NoMatsLabel.Visible = MaterialList.ChildCount == 1;
     }
 }