Skip to content

Commit d562b27

Browse files
committed
Fix bug causing missing prompt in standalone builds
1 parent f3cf31f commit d562b27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/UXF/Scripts/UI/UIController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ void Awake()
157157
{
158158
if (session == null) session = GetComponentInParent<Session>();
159159
if (canvas == null) canvas = GetComponent<Canvas>();
160+
if (popupController == null) popupController = GetComponentInChildren<PopupController>(true);
160161
// read word list
161162
if (uuidWordList) words = uuidWordList.text.Split(new[] { "\r\n", "\r", "\n" }, StringSplitOptions.None);
162163
GenerateSidebar();

0 commit comments

Comments
 (0)