test stats anche achievements
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
extends Node
|
||||
|
||||
#if you have an error setting achievements or stats in debug mode remember to open your steam client
|
||||
#with jmp games account or another account who bought this game. If error persist try to clos and reopen steam client.
|
||||
|
||||
const APP_ID: int = 4809260 #Train Goes Choo Choo
|
||||
|
||||
var is_on_steam: bool = false
|
||||
@@ -21,7 +24,7 @@ func _ready() -> void:
|
||||
|
||||
func _process(_delta: float) -> void:
|
||||
if is_on_steam:
|
||||
Steam.run_callbacks() # every frame, always
|
||||
Steam.run_callbacks() #every frame, forever
|
||||
|
||||
func _on_overlay_toggled(active: bool, _user_initiated: bool, _app_id: int) -> void:
|
||||
get_tree().paused = active
|
||||
|
||||
Reference in New Issue
Block a user