mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-16 11:34:43 +00:00
If player is localplayer, set structure border to territory color (#4366)
Resolves #4365 ## Description: Currently the border of icons are using borderColor which is grey for local player <img width="227" height="281" alt="image" src="https://github.com/user-attachments/assets/9e334e19-c5b2-49ca-a85d-4576a5bbc1a9" /> This set it to territory color <img width="187" height="102" alt="image" src="https://github.com/user-attachments/assets/9b9f27f9-69e2-4ae7-9f35-a789b56b45de" /> ## 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 - [ ] I have added relevant tests to the test directory ## Please put your Discord username so you can be contacted if a bug or regression is found: Mr. Box
This commit is contained in:
@@ -930,6 +930,7 @@ export class GPURenderer {
|
||||
if (id === this.localPlayerID) return;
|
||||
this.localPlayerID = id;
|
||||
this.samRadiusPass.setLocalPlayer(id);
|
||||
this.structurePass.setLocalPlayer(id);
|
||||
this.affiliationPalette.setLocalPlayer(id);
|
||||
this.unitPass.setLocalPlayer(id);
|
||||
this.railroadPass.setLocalPlayer(id);
|
||||
|
||||
Reference in New Issue
Block a user