From 8cf493e8d513a123599f8f5e4c9163ec538354d3 Mon Sep 17 00:00:00 2001 From: Daniel Ceregatti Date: Fri, 28 Jun 2024 20:56:57 -0700 Subject: [PATCH] Fix bug where upstream files were not being copied to the correct location upon server start. --- server/bin/dz | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/bin/dz b/server/bin/dz index 1142b0b..3a813f9 100755 --- a/server/bin/dz +++ b/server/bin/dz @@ -143,11 +143,11 @@ mergexml(){ do if [ -f /mpmissions/${MAP}/${i} ] then - cp -v /mpmissions/${MAP}/${i} ${SERVER_FILES}/${i} + cp -v /mpmissions/${MAP}/${i} ${MPMISSIONS}/${MAP}/${i} else # Copy it from the Chernarus map echo "The map ${MAP} does not have a ${i} file, copying from Chernarus..." - cp -v /mpmissions/dayzOffline.chernarusplus/${i} ${SERVER_FILES}/${i} + cp -v /mpmissions/dayzOffline.chernarusplus/${i} ${MPMISSIONS}/${MAP}/${i} fi done