mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 16:10:53 +00:00
772b72dfef
## Description: The changes introduce a new public uiState property to the PlayerPanel class and ensure it is assigned from the shared UI state in the createRenderer function. The troop donation logic in PlayerPanel is updated to use the attackRatio from uiState to determine the number of troops to donate, replacing the previous static or null value. ## Please complete the following: - [X] I have added screenshots for all UI updates - [X] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [X] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: PilkeySEK