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:
commit
5f0468d724
1 changed files with 2 additions and 0 deletions
|
@ -306,8 +306,10 @@ namespace System
|
|||
}
|
||||
}
|
||||
|
||||
#if !BF_RUNTIME_DISABLE
|
||||
static
|
||||
{
|
||||
public static Random gRand = new Random() ~ delete _;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue