mirror of
https://github.com/thecatontheceiling/buckshotroulette-decomp.git
synced 2025-02-05 07:28:30 +00:00
cd02fa8dd8
- Localization fixes. - Top leaderboard scores can now be cycled with the arrow keys on the computer. - Added music toggle to audio/video settings.
12 lines
295 B
GDScript
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()
|