Inside Map with a struct not saving

The problem was using interfaces to save, like get game instance and a interface like save current game or get current game etc, so integer saving wont work with interfaces at least when save game is on game instance, so i had to just cast to game instance to set and save the integer