mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
6edd4cc4a9
The marketplace send tab (17.tpl) was refactored with an empty <script> block, which dropped the `haendler` (available merchants) and `carry` (per-merchant capacity) globals that add_res()/upd_res() in unx.js rely on. Without them `ic = haendler * carry` evaluates to NaN, so clicking the "(capacity)" link next to a resource (or the resource icon) no longer fills the input. Restore the two globals so the max-per-merchant fill works again. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>