I seem to be getting wrong ID for Fortnite in overwolf.games.onGameInfoUpdated

I seem to be getting wrong ID for Fortnite in overwolf.games.onGameInfoUpdated:

212161 instead of 21216, as you can see in the screenshot:

image

I noticed that in the sample app for Fortnite it’s dividing the ID by 10:

if (Math.floor(gameInfoResult.gameInfo.id/10) != 21216) {
perhaps someone from the Overwolf team can explain the rationale behind this design.

The rationale behind this is that a single game can have multiple executables:
Steam, GOG, 32 / 64 bit clients, etc…
This is how we differentiate between them all.
Basically, you have the ID, and then a series of instances (212160, 212161, …)