mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
c2d8e74859
The ft=p2 handler (Profile::updatePreferences) only saved the language column, so the large-map checkbox — and v1-v6 / timezone / tformat — never persisted: the box reverted to unchecked on OK. The full save block in preference.tpl was dead code (the handler header()+exit before it runs). Persist the whole preferences form in the handler (checkboxes as 0/1, timezone/tformat as validated ints) so the Large map preference actually sticks. The other fields are stored now and applied in-game in later steps of #198. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>