feat: update candy logic

This commit is contained in:
2026-07-07 18:08:49 +08:00
parent 04e40f5b76
commit 286d0ce069
5 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -299,7 +299,7 @@ func _try_activate_ghost() -> bool:
return false
var gm = strategic_planner._get_candy_survival_manager()
if not gm or not gm.is_active:
if not gm or not gm.active:
return false
var pid = actor.get("peer_id") if "peer_id" in actor else actor.name.to_int()