浏览代码

*** empty log message ***

Joe Shochet 24 年之前
父节点
当前提交
437d8ad612
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      direct/src/showbase/ShowBase.py

+ 1 - 0
direct/src/showbase/ShowBase.py

@@ -38,6 +38,7 @@ class ShowBase:
         self.wantAnySound = self.config.GetBool('want-sound', 1)
         self.wantAnySound = self.config.GetBool('want-sound', 1)
         self.wantSfx = self.config.GetBool('audio-sfx-active', 1)
         self.wantSfx = self.config.GetBool('audio-sfx-active', 1)
         self.wantMusic = self.config.GetBool('audio-music-active', 1)
         self.wantMusic = self.config.GetBool('audio-music-active', 1)
+        self.wantFog = self.config.GetBool('want-fog', 1)
         if not (self.wantSfx or self.wantMusic):
         if not (self.wantSfx or self.wantMusic):
             self.wantAnySound = None
             self.wantAnySound = None
         if not self.wantAnySound:
         if not self.wantAnySound: