diff options
| author | Mittendrein Markus <maxmitti@gmx.net> | 2016-03-08 22:55:19 +0100 |
|---|---|---|
| committer | Mittendrein Markus <maxmitti@gmx.net> | 2016-03-08 22:55:40 +0100 |
| commit | a14a78484cd5908d3ad7b8ddf6fea69d60840f8a (patch) | |
| tree | 20639150aea71115353405632f04fd596626a610 /TemplePushing.c4s | |
| parent | d6fc011ce007b58e3ac3644bfa889c061eebb3e5 (diff) | |
| download | tempelschubsen-a14a78484cd5908d3ad7b8ddf6fea69d60840f8a.tar.gz tempelschubsen-a14a78484cd5908d3ad7b8ddf6fea69d60840f8a.zip | |
Only play rain sound when ambience is enabled
Diffstat (limited to 'TemplePushing.c4s')
| -rw-r--r-- | TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c index 7699859..7df8e3b 100644 --- a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c +++ b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c @@ -57,5 +57,6 @@ protected func Initialize() public func SectionAmbienceSounds() { - return [["Ambience.ogg", 50], ["Rain.ogg", 75]]; + if (ambienceEnabled) return [["Ambience.ogg", 50], ["Rain.ogg", 75]]; + else return [["Ambience.ogg", 50]]; } |
