fix: no time limit for new village creation

This commit is contained in:
Martin Ambrus
2017-10-13 21:01:20 +02:00
parent 42a5a7ce33
commit 74cccb2a74
+2
View File
@@ -375,6 +375,8 @@ class MYSQLi_DB {
}
function generateBase($sector, $mode=1) {
// don't let SQL time out when 30-500 seconds (depending on php.ini) is not enough
@set_time_limit(0);
$num_rows = 0;
$count_while = 0;
while (!$num_rows){