Skip to content

Commit 2d5a8ac

Browse files
committed
Server improvements
1 parent c823133 commit 2d5a8ac

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Assets/Scripts/Gameplay/UI/LoadingScreen/LoadingScreen.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@ private void Awake()
3030

3131
private void OnEnable()
3232
{
33+
#if !UNITY_SERVER
3334
var root = GetComponent<UIDocument>().rootVisualElement;
3435
m_Container = root.Q<VisualElement>("loading-screen-container");
3536
m_LoadingCircle = root.Q<VisualElement>("loading-circle");
3637
m_TextLabel = m_Container.Q<Label>("loading-label");
38+
#endif
3739
RotateLoading();
3840
}
3941

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:701431d73bd9c3288bfda18d4fc1f5185d97d757752378e13a14bcd57cc57d78
3-
size 1527
2+
oid sha256:c0714dd673785d9fa9deeec3a8b55482a01b4f898934c993bf4a5e95797f5766
3+
size 3454

0 commit comments

Comments
 (0)