diff --git a/savesync[start](permanent).ash b/savesync[start](permanent).ash index 438244a..d19d158 100644 --- a/savesync[start](permanent).ash +++ b/savesync[start](permanent).ash @@ -63,7 +63,7 @@ mosquitto_sub -h 127.0.0.1 -p 1883 -q 0 -t "$TOPIC" | while IFS="=" read -r key fi # Signal that sync is done - mosquitto_pub -h 127.0.0.1 -p 1883 -t "$TOPIC" -m "SaveContinue=0" + mosquitto_pub -h 127.0.0.1 -p 1883 -t "$RESPONSE_TOPIC" -m "SaveContinue=0" ) & log "DEBUG" "Sync process backgrounded for Start Game." @@ -73,7 +73,7 @@ mosquitto_sub -h 127.0.0.1 -p 1883 -q 0 -t "$TOPIC" | while IFS="=" read -r key rclone update "$this_save_path" "$REMOTE_BASE/$this_system_id/" log "INFO" "Sync Complete." - mosquitto_pub -h 127.0.0.1 -p 1883 -t "$TOPIC" -m "SaveContinue=0" + mosquitto_pub -h 127.0.0.1 -p 1883 -t "$RESPONSE_TOPIC" -m "SaveContinue=0" ) & log "DEBUG" "Sync process backgrounded for End Game." fi