Corrige crash au démarrage

This commit is contained in:
2020-06-15 01:10:47 +02:00
parent 0b2baacb92
commit e0783cf8bf
2 changed files with 3 additions and 2 deletions

View File

@ -225,7 +225,8 @@ function areas:canPlayerAddArea(pos1, pos2, name)
(pos2.x - pos1.x) > max_size.x or
(pos2.y - pos1.y) > max_size.y or
(pos2.z - pos1.z) > max_size.z then
return false, S("Area is too big.")
return false, S("Area is too big.")
end
end
-- Check number of areas the user has and make sure it not above the max