mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 07:04:53 +09:00
serialize_item_stack did not store the spoil percent and deserialize_item_stack did not pass it to set_stack, so spoilable items arrived fresh after a transfer. Store it when above 0 and restore it. The percent is used instead of spoil_tick since tick counts differ between servers. Co-authored-by: ILLISIS <jayson.harris01@gmail.com> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>