Add SFX
This commit is contained in:
@@ -254,6 +254,7 @@ func on_goal_completed(player: Node, time_remaining: float):
|
||||
# Randomize 9 tiles around player
|
||||
_randomize_tiles_around_player(player)
|
||||
|
||||
SfxManager.rpc("play_rpc", "complete_mission")
|
||||
print("[GoalsCycle] Player %d completed goal! +%d points (base: %d, time bonus: %d)" % [peer_id, score_earned, BASE_SCORE, time_bonus])
|
||||
|
||||
@rpc("authority", "call_local", "reliable")
|
||||
|
||||
Reference in New Issue
Block a user