Files
OpenFrontIO/src/client
Restart2008 ba3bf8e797 fix: Resolve userSettings is null error in worker
This commit fixes the "userSettings is null" error that occurred in the worker when trying to join or create a game.

- Introduced IUserSettings interface to define the contract for user settings used in the worker.

- Updated UserSettings class to implement IUserSettings and provide a getData() method for serialization.

- Modified WorkerMessages to include serialized user settings in the InitMessage.

- Passed user settings from ClientGameRunner to WorkerClient, and then to the worker.

- Updated createGameRunner to accept IUserSettings and pass it to getConfig.

- Corrected type inconsistencies across various configuration and theme classes to align with IUserSettings.

- Re-added missing imports in relevant files.
2025-10-26 18:18:47 -07:00
..
2025-10-26 17:01:17 -07:00
2025-10-16 20:01:19 -07:00
2025-10-23 15:02:13 -07:00
2025-10-23 15:02:13 -07:00
2025-10-17 17:09:10 -07:00
2025-10-23 15:02:46 -07:00
2025-09-18 11:26:53 -07:00
2025-09-30 11:10:34 -07:00
2025-09-09 14:37:06 -07:00
2025-10-23 15:02:46 -07:00
2025-08-03 01:38:21 -04:00
2025-10-17 17:09:10 -07:00
2025-10-09 19:54:35 -07:00