mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2025-02-16 15:40:16 +00:00
parent
ca9eef20d5
commit
7c64e9b118
@ -14,7 +14,7 @@ Vue.component("time-dim-row", {
|
||||
rateOfChange: new Decimal(0),
|
||||
cost: new Decimal(0),
|
||||
isAffordable: false,
|
||||
autobuyers: player.reality.tdbuyers
|
||||
autobuyers: Array.from(player.reality.tdbuyers)
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
@ -45,6 +45,7 @@ Vue.component("time-dim-row", {
|
||||
}
|
||||
this.cost.copyFrom(dimension.cost);
|
||||
this.isAffordable = dimension.isAffordable;
|
||||
this.autobuyers = Array.from(player.reality.tdbuyers);
|
||||
},
|
||||
buyTimeDimension() {
|
||||
buyTimeDimension(this.tier);
|
||||
@ -70,4 +71,4 @@ Vue.component("time-dim-row", {
|
||||
@click="buyTimeDimension"
|
||||
>{{buttonContents}}</primary-button>
|
||||
</div>`,
|
||||
});
|
||||
});
|
||||
|
@ -14,7 +14,7 @@ Vue.component("new-time-dimension-row", {
|
||||
rateOfChange: new Decimal(0),
|
||||
cost: new Decimal(0),
|
||||
isAffordable: false,
|
||||
autobuyers: player.reality.tdbuyers
|
||||
autobuyers: Array.from(player.reality.tdbuyers)
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
@ -45,6 +45,7 @@ Vue.component("new-time-dimension-row", {
|
||||
}
|
||||
this.cost.copyFrom(dimension.cost);
|
||||
this.isAffordable = dimension.isAffordable;
|
||||
this.autobuyers = Array.from(player.reality.tdbuyers);
|
||||
},
|
||||
buyTimeDimension() {
|
||||
buyTimeDimension(this.tier);
|
||||
@ -70,4 +71,4 @@ Vue.component("new-time-dimension-row", {
|
||||
@click="buyTimeDimension"
|
||||
>{{buttonContents}}</primary-button>
|
||||
</div>`,
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user