Allow changing abt variant
This commit is contained in:
parent
2a63d7474c
commit
e2460edb32
|
@ -87,6 +87,11 @@ export class ShapezGameAnalytics extends GameAnalyticsInterface {
|
|||
return;
|
||||
}
|
||||
|
||||
window.setAbt = abt => {
|
||||
this.app.storage.writeFileAsync("shapez_" + CURRENT_ABT + ".bin", String(abt));
|
||||
window.location.reload();
|
||||
};
|
||||
|
||||
// Retrieve sync key from player
|
||||
return this.fetchABVariant().then(() => {
|
||||
setInterval(() => this.sendTimePoints(), 60 * 1000);
|
||||
|
|
Loading…
Reference in New Issue