mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-29 00:54:31 +00:00
0b563849bf
The merge of #180 (applyBounty) and #181 (buildScoutReport) — both of which inserted a new private method just before sendunitsComplete() — dropped the closing brace of buildScoutReport(). As a result applyBounty() was declared INSIDE buildScoutReport(), producing: PHP Parse error: syntax error, unexpected token "private" in GameEngine/Automation.php This crashes Automation.php entirely (HTTP 500), so the whole game automation stops: troop movements never resolve, buildings never finish, etc. Fix: restore the missing `}` closing buildScoutReport() before the applyBounty() docblock. Brace balance is now even again (634/634). One-character structural fix, no logic change. Co-authored-by: TravianZ Patcher <patcher@localhost> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> Co-authored-by: Catalin Novgorodschi <cata7007@gmail.com>