mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-22 10:14:16 +00:00
d9ea9fd432
## Description: Betrayal count in PlayerUpdates came from stats. But stats are only kept for players with ClientID aka real humans. So betrayals stayed 0 for Nations even after betraying others. This PR fixes it by keeping a seperate betrayal count for PlayerUpdates while stats are still being kept to go in the database. See bug report https://discord.com/channels/1284581928254701718/1432759837560799403 After: <img width="642" height="337" alt="image" src="https://github.com/user-attachments/assets/1b8bcfa1-aadd-4bea-8a5f-7fa9f2c9111f" /> ## 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 - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: tryout33