mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
Fix automapper randomization
This commit is contained in:
parent
9efa13c036
commit
2f703babbb
|
@ -37,7 +37,7 @@ public:
|
|||
|
||||
static bool Random(int Value)
|
||||
{
|
||||
return (((random_int() + Value) % 2) == 1);
|
||||
return (random_int() % Value) == 0;
|
||||
}
|
||||
|
||||
static const char *GetTypeName(int Type)
|
||||
|
|
Loading…
Reference in a new issue