fix(candy-survival): resolve persistent candy color bugs, sync HUD scores and counts, bypass Mekton face delivery requirement, and correct STAR/COIN color switch

This commit is contained in:
2026-07-08 15:37:23 +08:00
parent 950b1969d8
commit 38d09a50e7
5 changed files with 53 additions and 14 deletions
+1 -1
View File
@@ -377,7 +377,7 @@ func _process_cycle_end_for_all_players():
var peer_id = player.name.to_int()
var match_score = _calculate_match_score(player)
if match_score > 0:
if match_score > 0 and not (LobbyManager.game_mode == "Candy Survival"):
if not player_scores.has(peer_id):
player_scores[peer_id] = 0
player_scores[peer_id] += match_score