buckshotroulette-decomp/AchievementManager.gd
Lyssa cd02fa8dd8
v1.2.2 changes
- Localization fixes.
- Top leaderboard scores can now be cycled with the arrow keys on the computer.
- Added music toggle to audio/video settings.
2024-04-13 18:32:57 +04:00

12 lines
295 B
GDScript

class_name Achievement extends Node
func UnlockAchievement(apiname : String):
if GlobalVariables.using_steam:
Steam.setAchievement(apiname)
Steam.storeStats()
func ClearAchievement(apiname : String):
if GlobalVariables.using_steam:
Steam.clearAchievement(apiname)
Steam.storeStats()