diff options
| author | Osmium Sorcerer <os@sof.beauty> | 2026-03-24 23:10:21 +0000 |
|---|---|---|
| committer | Osmium Sorcerer <os@sof.beauty> | 2026-03-30 13:07:11 +0000 |
| commit | 14a48530d911e9d9d0539eb4c273ce1379534607 (patch) | |
| tree | 0f81a04410502eafddbd56d8c6e14ee0ae489c24 /lib | |
| parent | 4858f1d4049d514cc99792c7ff13518dfe95398c (diff) | |
Constrain the lifetime of the demo server
Demo server was being deleted and recreated every time the lobby was
constructed, so it was always active. This rendered the "are we playing
a demo" checks useless as they always assumed we did. Logs didn't work
because of it, for example.
Construct the demo server only when the user selects demo playback, and
destroy it during the destruction of courtroom.
Make log_filename based on the application path, so `logs` subdirectory
is created relative to the executable rather than the working directory.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
