add basic tracking

This commit is contained in:
NilsUeter
2023-05-12 16:29:27 +02:00
parent ab9275be81
commit 46cb96fbce
2 changed files with 26 additions and 0 deletions
+4
View File
@@ -81,6 +81,10 @@ function App() {
if (roster && roster.forces.length > 0) {
setRoster(roster);
setError("");
smartlook("track", "loadRoster", {
name: rosterName,
faction: roster.forces[0].catalog,
});
}
} else {
setError("No support for game type '" + gameType + "'.");