mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Fix typos
This commit is contained in:
parent
27906caa84
commit
ac4109a900
@ -35,7 +35,7 @@ export class HUDStandaloneAdvantages extends BaseHUDPart {
|
||||
<button class="steamLinkButton steam_dlbtn_0">
|
||||
${
|
||||
globalConfig.currentDiscount > 0
|
||||
? `<span class='discount'>${globalConfig.currentDiscount}% off!</span>`
|
||||
? `<span class='discount'>-${globalConfig.currentDiscount}%!</span>`
|
||||
: ""
|
||||
}
|
||||
</button>
|
||||
|
@ -30,7 +30,7 @@ export class HUDWatermark extends BaseHUDPart {
|
||||
globalConfig.currentDiscount > 0 ? ["withDiscount"] : [],
|
||||
linkText +
|
||||
(globalConfig.currentDiscount > 0
|
||||
? `<span class='discount'>${globalConfig.currentDiscount}% off!</span>`
|
||||
? `<span class='discount'>-${globalConfig.currentDiscount}%!</span>`
|
||||
: "")
|
||||
);
|
||||
this.trackClicks(this.linkElement, () => {
|
||||
|
@ -19,7 +19,7 @@ const analyticsUrl = G_IS_DEV ? "http://localhost:8001" : "https://analytics.sha
|
||||
const analyticsLocalFile = G_IS_STEAM_DEMO ? "shapez_token_steamdemo.bin" : "shapez_token_123.bin";
|
||||
|
||||
const CURRENT_ABT = "abt_dif";
|
||||
const CURRENT_ABT_COUNT = 5;
|
||||
const CURRENT_ABT_COUNT = 6;
|
||||
|
||||
export class ShapezGameAnalytics extends GameAnalyticsInterface {
|
||||
constructor(app) {
|
||||
|
@ -79,7 +79,7 @@ export class MainMenuState extends GameState {
|
||||
<a href="#" class="steamLink steam_dlbtn_0" target="_blank">
|
||||
${
|
||||
globalConfig.currentDiscount > 0
|
||||
? `<span class='discount'>${globalConfig.currentDiscount}% off!</span>`
|
||||
? `<span class='discount'>-${globalConfig.currentDiscount}%!</span>`
|
||||
: ""
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user