mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 12:40:46 +00:00
prettier fix
This commit is contained in:
@@ -172,7 +172,13 @@ export class TroopAdvantageLayer implements Layer {
|
||||
) {
|
||||
let label = this.labels.get(attackID);
|
||||
if (!label) {
|
||||
label = { elements: [], positions: [], isIncoming, attackerTroops, defenderTroops };
|
||||
label = {
|
||||
elements: [],
|
||||
positions: [],
|
||||
isIncoming,
|
||||
attackerTroops,
|
||||
defenderTroops,
|
||||
};
|
||||
this.labels.set(attackID, label);
|
||||
} else {
|
||||
label.attackerTroops = attackerTroops;
|
||||
|
||||
Reference in New Issue
Block a user