diff --git a/native_crumbcore_v1/setup_missions.sh b/native_crumbcore_v1/setup_missions.sh index d5d7fc4..78ba66e 100755 --- a/native_crumbcore_v1/setup_missions.sh +++ b/native_crumbcore_v1/setup_missions.sh @@ -61,6 +61,8 @@ if [ ! -d "$HOME_DIR/missions" ]; then else print_info "Missions folder already exists, updating..." cd "$HOME_DIR/missions" + # Reset local changes (our patches) to ensure we get fresh real scripts for the sync + sudo -u "$USER_NAME" git reset --hard HEAD sudo -u "$USER_NAME" git pull || true fi