Preventing redundency in SetGlobalTheme

This commit is contained in:
Usman Shafiq
2022-03-23 22:39:21 -04:00
parent fd360ef9f9
commit abc08e6bde

View File

@@ -22,6 +22,9 @@ namespace VRCX
/// </summary>
public static void SetGlobalTheme(int theme)
{
if(currentTheme == theme)
return;
currentTheme = theme;
List<Form> forms = new List<Form>();