2
0
Эх сурвалжийг харах

Surround System.gRand static initializer with #if !BF_RUNTIME_DISABLE

Hunter Bridges 2 сар өмнө
parent
commit
0fa00f29b6

+ 2 - 0
BeefLibs/corlib/src/Random.bf

@@ -306,8 +306,10 @@ namespace System
 		}
 		}
 	}
 	}
 
 
+#if !BF_RUNTIME_DISABLE
 	static
 	static
 	{
 	{
 		public static Random gRand = new Random() ~ delete _;
 		public static Random gRand = new Random() ~ delete _;
 	}
 	}
+#endif
 }
 }