developer21
Member
Hi,
Kindly, I was able to use the Save system of Opsive successfully, and it saves the inventory when the App ends, and load it when the App begins.
But, everytime I End and Start the application, the inventory is duplicated.
Ex: if the player has 1 Pistol, 1 Riffle, 100 bullets, the next start it will be 2 spots one for each pistol, 2 spots each for a rifle, and 2 spots each has 100 bullets.
Third time, will be 3 spots for each weapon…etc.
What would be the reason for that?
Should I call a method to clear the inventory panel, before deserializing the saved inventory and displaying it into a be panel.
Thanks
Kindly, I was able to use the Save system of Opsive successfully, and it saves the inventory when the App ends, and load it when the App begins.
But, everytime I End and Start the application, the inventory is duplicated.
Ex: if the player has 1 Pistol, 1 Riffle, 100 bullets, the next start it will be 2 spots one for each pistol, 2 spots each for a rifle, and 2 spots each has 100 bullets.
Third time, will be 3 spots for each weapon…etc.
What would be the reason for that?
Should I call a method to clear the inventory panel, before deserializing the saved inventory and displaying it into a be panel.
Thanks