made map size id way smaller

This commit is contained in:
Lee 2023-04-15 18:11:15 +01:00
parent 9bf9151c53
commit 476f03b1dd

@ -10,7 +10,7 @@ function generateMapId()
{
$mapId = "";
$characters = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
for ($i = 0; $i < 10; $i++) {
for ($i = 0; $i < 4; $i++) {
$mapId .= $characters[rand(0, strlen($characters) - 1)];
}
return $mapId;