made map size id way smaller
This commit is contained in:
parent
9bf9151c53
commit
476f03b1dd
@ -10,7 +10,7 @@ function generateMapId()
|
|||||||
{
|
{
|
||||||
$mapId = "";
|
$mapId = "";
|
||||||
$characters = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
$characters = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
||||||
for ($i = 0; $i < 10; $i++) {
|
for ($i = 0; $i < 4; $i++) {
|
||||||
$mapId .= $characters[rand(0, strlen($characters) - 1)];
|
$mapId .= $characters[rand(0, strlen($characters) - 1)];
|
||||||
}
|
}
|
||||||
return $mapId;
|
return $mapId;
|
||||||
|
Reference in New Issue
Block a user