don't send game if test_mode
This commit is contained in:
parent
067132b92b
commit
cfc4678abd
1 changed files with 5 additions and 1 deletions
|
@ -526,7 +526,11 @@ export const Minesweeper = function() {
|
|||
time_stamp: new Date(),
|
||||
isMobile
|
||||
}
|
||||
leaderBoard.send(game, 'time');
|
||||
|
||||
if (!TEST_MODE) {
|
||||
leaderBoard.send(game, 'time');
|
||||
}
|
||||
|
||||
// send google analytics event
|
||||
if (gtag) {
|
||||
gtag('event', 'mw-event', {
|
||||
|
|
Loading…
Reference in a new issue