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).
This commit is contained in:
rdb 2021-03-13 13:55:35 +01:00
parent 13a764c91e
commit 3c9673b48e

View File

@ -682,6 +682,7 @@ class build_apps(setuptools.Command):
# 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:
self.warn("Missing audio plugin p3fmod_audio referenced in PRC data, replacing with p3openal_audio")
value = 'p3openal_audio'
for plugin in check_plugins:
if plugin in value and plugin not in self.plugins: