samsface / godot-steam-api

Godot Steam integration using GDNative.
403 stars 16 forks source link

get_achievement(name:String) always returns Null #1

Closed DaisyGames closed 3 years ago

DaisyGames commented 3 years ago

get_achievement() always returns null, whenever the achievement is achieved by the player or not.

samsface commented 3 years ago

Ok this should of been return user_stats_.get_achievement(name), easy fix.

https://github.com/samsface/godot-steam-api/blob/bd687798a929131552b2d10159e8e6fbe7151633/app/addons/steam_api/steam.gd#L29

samsface commented 3 years ago

Ok fixed and updated godot asset library commit ref, thanks :pray: