forked from Mirrors/openclonk
Remove AsyncRandom() script function
We couldn't think of any reason you'd want to use this over regular Random() in script.liquid_container
parent
92334f5f4c
commit
aeabe28d82
|
@ -503,11 +503,6 @@ static long FnRandom(C4PropList * _this, long iRange)
|
|||
return Random(iRange);
|
||||
}
|
||||
|
||||
static long FnAsyncRandom(C4PropList * _this, long iRange)
|
||||
{
|
||||
return SafeRandom(iRange);
|
||||
}
|
||||
|
||||
static int FnGetType(C4PropList * _this, const C4Value & Value)
|
||||
{
|
||||
// dynamic types
|
||||
|
@ -791,7 +786,6 @@ void InitCoreFunctionMap(C4AulScriptEngine *pEngine)
|
|||
F(BoundBy);
|
||||
F(Inside);
|
||||
F(Random);
|
||||
F(AsyncRandom);
|
||||
|
||||
F(CreateArray);
|
||||
F(CreatePropList);
|
||||
|
|
Loading…
Reference in New Issue