summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/System.c4g/ApocalypseEffects.c
diff options
context:
space:
mode:
authorJan <>2015-07-10 18:11:22 +0200
committerJan <_>2015-07-10 18:47:01 +0200
commitf1ece16c08d8c01e1d49a25f0314a96c021e73cb (patch)
tree9bc9f547f2524dee8e62f168f317df465a6cbcdd /TemplePushing.c4s/System.c4g/ApocalypseEffects.c
parent80b15646d73587f4e15a2897314692b58aa1a47f (diff)
downloadtempelschubsen-f1ece16c08d8c01e1d49a25f0314a96c021e73cb.tar.gz
tempelschubsen-f1ece16c08d8c01e1d49a25f0314a96c021e73cb.zip
r0.921
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;