mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-10-20 01:46:19 +00:00
don't queue if not in game
This commit is contained in:
1 parent
58b01a4f1a
commit
a4aa0296f3
1 file changed
+1
-1
@@ -72,7 +72,7 @@ class BetterNotificationManager
|
||||
BAUNotificationManagerObj.transform.position = AspectPosition.ComputeWorldPosition(localCamera, AspectPosition.EdgeAlignments.Bottom, new Vector3(-1.3f, 0.7f, localCamera.nearClipPlane + 0.1f));
|
||||
|
||||
showTime -= Time.deltaTime;
|
||||
if (showTime <= 0f)
|
||||
if (showTime <= 0f && GameStates.IsInGame)
|
||||
{
|
||||
BAUNotificationManagerObj.transform.Find("Sizer/ChatText (TMP)").GetComponent<TextMeshPro>().text = "";
|
||||
BAUNotificationManagerObj.SetActive(false);
|
||||
|
||||
Reference in new issue
Block a user