Make R act as the refresh button in the icon marketplace download menu

This commit is contained in:
2026-01-31 20:36:12 -07:00
parent 7af1a7c329
commit fefab71818
2 changed files with 3 additions and 2 deletions

View File

@@ -81,5 +81,6 @@ public class IconMarketplaceManager : MonoBehaviour
else if (downloadPanel.activeSelf || uploadPanel.activeSelf) SwitchPanel(0);
else await SceneManager.LoadSceneAsync("MainMenu");
}
else if (Keyboard.current.rKey.wasPressedThisFrame && downloadPanel.activeSelf && downloadPanelScript.refreshButton.interactable) downloadPanelScript.GetIcons();
}
}