1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Migrate old savegames

This commit is contained in:
tobspr
2020-06-01 12:49:04 +02:00
parent 4e18fa74d4
commit 23db5b117e
8 changed files with 72 additions and 11 deletions

View File

@@ -66,11 +66,6 @@ export class GoogleAnalyticsImpl extends AnalyticsInterface {
}
trackUiClick(elementName) {
// Only track a fraction of clicks to not annoy google analytics
if (Math_random() < 0.9) {
return;
}
const stateKey = this.app.stateMgr.getCurrentState().key;
const fullSelector = stateKey + ">" + elementName;