summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c
diff options
context:
space:
mode:
Diffstat (limited to 'TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c')
-rw-r--r--TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c
index 73f6b49..bead84f 100644
--- a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c
+++ b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c
@@ -24,8 +24,11 @@ protected func Initialize()
if (mode != MODE_Festive) AddEffect("Rain", 0, 20, 1);
// Create sun and lenseflare
- CreateObject(SONE, 0, 0, NO_OWNER);
- CreateObject(LENS, 0, 0, NO_OWNER);
+ if (mode != MODE_Festive)
+ {
+ CreateObject(SONE, 0, 0, NO_OWNER);
+ CreateObject(LENS, 0, 0, NO_OWNER);
+ }
}
if (mode == MODE_Apocalyptic)