mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-08-15 14:43:32 -07:00
This patch fixes the TODO comment in playersFinished and moves all of the calls to handlers. The only reason for adding back the function `handlePlayersFinished` is to prevent duplication in the "won" and "defeated" message handlers. In the future, code to execute when players finish in the future should exclusively be added by registering new handlers, not by adding it to that function. |
||
|---|---|---|
| .. | ||
| data | ||
| logs | ||
| system | ||