1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-14 12:13:51 +02:00

Merge pull request #2288 from eveningstarinc/hunterbridges/RandomStaticInitDisable

Surround System.gRand static initializer with #if !BF_RUNTIME_DISABLE
This commit is contained in:
Brian Fiete 2025-07-11 03:54:22 -07:00 committed by GitHub
commit 5f0468d724
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
} }