summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/Script.c
diff options
context:
space:
mode:
Diffstat (limited to 'TemplePushing.c4s/Script.c')
-rw-r--r--TemplePushing.c4s/Script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/TemplePushing.c4s/Script.c b/TemplePushing.c4s/Script.c
index f37c183..58d53d9 100644
--- a/TemplePushing.c4s/Script.c
+++ b/TemplePushing.c4s/Script.c
@@ -569,7 +569,7 @@ func LaunchClonk(int player, object clonk, bool relaunch)
// Place wipf, save its position and remove it
var wipf = PlaceAnimal(WIPF);
if (!wipf) continue;
- var pos = IIf(wipf, [wipf->GetX(), wipf->GetY()], bestPosition);
+ var pos = [wipf->GetX(), wipf->GetY()];
if (wipf) wipf->RemoveObject();
// Get distance to closest enemy