diff options
Diffstat (limited to 'race/cars/car1.js')
-rw-r--r-- | race/cars/car1.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/race/cars/car1.js b/race/cars/car1.js index 750cbb3..0c4c9f0 100644 --- a/race/cars/car1.js +++ b/race/cars/car1.js @@ -113,6 +113,7 @@ startHooks.push(() => { if (location.search === "?sp") { scenar("won2", "happy"); } + require('electron').ipcRenderer.send('addstats', { catalog: "results", key: "loses", add: 1 }); try { document.getElementById('music').src = "about:blank"; } catch (e) { console.error(e); } Sound.win(); keysEnabled = false; |