Iakobs / godot-play-game-services

A Godot 4.2 plugin for integration with Google Play Game Services
MIT License
82 stars 5 forks source link

Fix crash when loading save game with invalid file name #19

Closed Iakobs closed 4 months ago

Iakobs commented 4 months ago

Suggested in this issue.

The game crashes when calling the loadGame method with an invalid file name. @3prockent suggests to add a method to verify if the snapshot exists or not, or fix the crash.

Will fix the crash and also add a the createIfNotFound parameter described in Google's API, which is hardcoded to false right now.

Iakobs commented 4 months ago

Done in these commits.