summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/System.c4g/ApocalypseEffects.c
diff options
context:
space:
mode:
Diffstat (limited to 'TemplePushing.c4s/System.c4g/ApocalypseEffects.c')
-rw-r--r--TemplePushing.c4s/System.c4g/ApocalypseEffects.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/TemplePushing.c4s/System.c4g/ApocalypseEffects.c b/TemplePushing.c4s/System.c4g/ApocalypseEffects.c
index cefa608..585a385 100644
--- a/TemplePushing.c4s/System.c4g/ApocalypseEffects.c
+++ b/TemplePushing.c4s/System.c4g/ApocalypseEffects.c
@@ -9,8 +9,7 @@ global func FxCreateTeraFlintsTimer()
var clonk = GetCrew(GetPlayerByIndex(i));
if (!clonk) continue;
- var teraflint = CreateObject(EFLN, 0, 0, NO_OWNER);
- if (!clonk->Collect(teraflint)) teraflint->RemoveObject();
+ if (clonk->ContentsCount(EFLN) < 3) clonk->CreateContents(EFLN);
}
return 1;