diff --git a/.gitignore b/.gitignore index ebf6a3fe..f72b08f2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ # cache /cache/template/* -/cache/alphaMaps/*.png +/setup/generated/alphaMaps/*.png # generated files /static/js/profile_all.js diff --git a/setup/tools/filegen/complexImg.func.php b/setup/tools/filegen/complexImg.func.php index 475580d0..510920e8 100644 --- a/setup/tools/filegen/complexImg.func.php +++ b/setup/tools/filegen/complexImg.func.php @@ -178,7 +178,7 @@ if (!CLI) } } - imagepng($tmp, 'cache/alphaMaps/' . $zoneId . '.png'); + imagepng($tmp, 'setup/generated/alphaMaps/' . $zoneId . '.png'); imagecolordeallocate($tmp, $cbg); imagecolordeallocate($tmp, $cfg); @@ -374,7 +374,7 @@ if (!CLI) $dirError = true; if ($modeMask & 0x04) - if (!CLISetup::writeDir('cache/alphaMaps')) + if (!CLISetup::writeDir('setup/generated/alphaMaps')) $dirError = true; if ($dirError) diff --git a/setup/tools/sqlgen/spawns.func.php b/setup/tools/sqlgen/spawns.func.php index af7463fb..d943f22e 100644 --- a/setup/tools/sqlgen/spawns.func.php +++ b/setup/tools/sqlgen/spawns.func.php @@ -30,7 +30,7 @@ function spawns() // and waypoints $alphaMapCache = []; $alphaMapCheck = function ($areaId, array &$set) use (&$alphaMapCache) { - $file = 'cache/alphaMaps/'.$areaId.'.png'; + $file = 'setup/generated/alphaMaps/'.$areaId.'.png'; if (!file_exists($file)) // file does not exist (probably instanced area) return false;