From f1ece16c08d8c01e1d49a25f0314a96c021e73cb Mon Sep 17 00:00:00 2001 From: Jan <> Date: Fri, 10 Jul 2015 18:11:22 +0200 Subject: r0.921 --- TemplePushing.c4s/System.c4g/ApocalypseEffects.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'TemplePushing.c4s/System.c4g/ApocalypseEffects.c') 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; -- cgit v1.2.3-54-g00ecf