Browse Source

dist: Actually replace p3fmod_audio with p3openal_audio

This was meant to be effected in 9e80282affb4ce19430fdd3e16d4b3ec4d49e2b8 but was not properly checked in (only the warning was shown, but the change was not actually made).
rdb 4 years ago
parent
commit
3c9673b48e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      direct/src/dist/commands.py

+ 1 - 0
direct/src/dist/commands.py

@@ -682,6 +682,7 @@ class build_apps(setuptools.Command):
                     # by default.  Switch it up if FMOD is not included.
                     # by default.  Switch it up if FMOD is not included.
                     if value not in self.plugins and value == 'p3fmod_audio' and 'p3openal_audio' in self.plugins:
                     if value not in self.plugins and value == 'p3fmod_audio' and 'p3openal_audio' in self.plugins:
                         self.warn("Missing audio plugin p3fmod_audio referenced in PRC data, replacing with p3openal_audio")
                         self.warn("Missing audio plugin p3fmod_audio referenced in PRC data, replacing with p3openal_audio")
+                        value = 'p3openal_audio'
 
 
                 for plugin in check_plugins:
                 for plugin in check_plugins:
                     if plugin in value and plugin not in self.plugins:
                     if plugin in value and plugin not in self.plugins: