Fix latest version button

This commit is contained in:
Lncvrt committed 2025-06-25 13:33:32 -07:00
1 parent 9bb62c8736
commit 866661f32a
1 file changed
+1 -1
+1 -1
View File
@@ -55,9 +55,9 @@ public class LatestVersionText : MonoBehaviour
else
{
latest = request.downloadHandler.text;
updateButton.gameObject.SetActive(latest != Application.version);
}
RefreshText();
if (latest != Application.version && updateButton != null) updateButton.gameObject.SetActive(true);
}
public void RefreshText()