diff --git a/docker-compose.yml b/docker-compose.yml index 7edbebbc..9b60cd51 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,7 +15,7 @@ services: networks: - darkflame ports: - - 3306:3306 + - 3306:3306 # (optional) ports only exposed so that DB management tools can connect darkflame: container_name: DarkFlameServer diff --git a/docker/start_server.sh b/docker/start_server.sh index 85d1509b..50422c60 100644 --- a/docker/start_server.sh +++ b/docker/start_server.sh @@ -66,9 +66,16 @@ function symlink_client_files() { ln -s /client/client/res/macros/ /app/res/macros ln -s /client/client/res/BrickModels/ /app/res/BrickModels ln -s /client/client/res/chatplus_en_us.txt /app/res/chatplus_en_us.txt - ln -s /client/client/res/maps/ /app/res/maps ln -s /client/client/res/names/ /app/res/names ln -s /client/client/locale/locale.xml /app/locale/locale.xml + # need to iterate over entries in maps due to maps already being a directory with navmeshes/ in it + ( + cd /client/client/res/maps + readarray -d '' entries < <(printf '%s\0' * | sort -zV) + for entry in "${entries[@]}"; do + ln -s /client/client/res/maps/$entry /app/res/maps/ + done + ) } function fdb_to_sqlite() {