summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/Misc.c4d/FestiveClonks.c4d/Script.c
diff options
context:
space:
mode:
Diffstat (limited to 'TemplePushing.c4s/Misc.c4d/FestiveClonks.c4d/Script.c')
-rw-r--r--TemplePushing.c4s/Misc.c4d/FestiveClonks.c4d/Script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/TemplePushing.c4s/Misc.c4d/FestiveClonks.c4d/Script.c b/TemplePushing.c4s/Misc.c4d/FestiveClonks.c4d/Script.c
index 656a32b..845a57d 100644
--- a/TemplePushing.c4s/Misc.c4d/FestiveClonks.c4d/Script.c
+++ b/TemplePushing.c4s/Misc.c4d/FestiveClonks.c4d/Script.c
@@ -4,7 +4,7 @@
#appendto CLNK
func Construction () {
- if (mode == MODE_Festive)
+ if (mode && mode->GetID() == MODE_Festive)
{
if(GetID() == CLNK) SetGraphics(0, this, FSVC);
return (_inherited (...));