Browse Source

Fix stack hell

Bepis 6 years ago
parent
commit
14e0cb59d2
1 changed files with 2 additions and 1 deletions
  1. 2 1
      BepInEx/Utility.cs

+ 2 - 1
BepInEx/Utility.cs

@@ -92,9 +92,10 @@ namespace BepInEx
 
 				    sorted.Add(node);
 				    sorted_list.Add(node);
+
+				    stack.Pop();
 			    }
 				
-			    stack.Pop();
 			    return true;
 		    }
         }