From da63092ee1f81ca4f47fd75443e9f53f050e8ff8 Mon Sep 17 00:00:00 2001 From: Lukas Werling Date: Fri, 5 Jan 2018 22:05:39 +0100 Subject: [PATCH] Skylands: Fix "free wood" appearing in front of Sawmill --- planet/Missions.ocf/Skylands.ocs/System.ocg/SmallTrees.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/planet/Missions.ocf/Skylands.ocs/System.ocg/SmallTrees.c b/planet/Missions.ocf/Skylands.ocs/System.ocg/SmallTrees.c index 331e6e9ce..69d6cfc81 100644 --- a/planet/Missions.ocf/Skylands.ocs/System.ocg/SmallTrees.c +++ b/planet/Missions.ocf/Skylands.ocs/System.ocg/SmallTrees.c @@ -20,8 +20,8 @@ func FxIntGrowthTimer(object obj, effect, ...) // Yield 1-2 extra wood func Split2Components(...) { - CreateObject(Wood); - if (GetCon() > 25) CreateObject(Wood); + CreateContents(Wood); + if (GetCon() > 25) CreateContents(Wood); return inherited(...); }