mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-26 14:14:36 +00:00
Attempt to fix bigint serialization issue (#1501)
## Description: Attempt to fix bigint serialization issue ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [ ] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [ ] I have read and accepted the CLA aggreement (only required once).
This commit is contained in:
@@ -199,7 +199,8 @@ export class GameServer {
|
||||
client.ws.send(
|
||||
JSON.stringify({
|
||||
type: "error",
|
||||
error: error.toString(),
|
||||
error,
|
||||
message,
|
||||
} satisfies ServerErrorMessage),
|
||||
);
|
||||
// Add a small delay before closing the connection to ensure the error message is received
|
||||
|
||||
Reference in New Issue
Block a user