unfocus player on ocean when no units nearby

This commit is contained in:
Evan
2025-03-31 12:46:34 -07:00
parent 745017aee2
commit 697b0106d6
+2
View File
@@ -386,6 +386,8 @@ export class ClientGameRunner {
if (units.length > 0) {
this.gameView.setFocusedPlayer(units[0].owner() as PlayerView);
} else {
this.gameView.setFocusedPlayer(null);
}
}
}