From b24f31922f6ec16a9c781fa43ddd19886f4da00a Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Sun, 10 Apr 2022 18:26:27 +0200 Subject: [PATCH] Soundfile - missing backslash --- Moose Development/Moose/Sound/SoundOutput.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Moose Development/Moose/Sound/SoundOutput.lua b/Moose Development/Moose/Sound/SoundOutput.lua index 7788c0574..57ce2f9a4 100644 --- a/Moose Development/Moose/Sound/SoundOutput.lua +++ b/Moose Development/Moose/Sound/SoundOutput.lua @@ -183,7 +183,7 @@ do -- Sound File --- Set path, where the sound file is located. -- @param #SOUNDFILE self - -- @param #string Path Path to the directory, where the sound file is located. + -- @param #string Path Path to the directory, where the sound file is located. In case this is nil, it defaults to the DCS mission temp directory. -- @return #SOUNDFILE self function SOUNDFILE:SetPath(Path) @@ -191,7 +191,7 @@ do -- Sound File self.path=Path or "l10n/DEFAULT/" if not Path and self.useSRS then -- use path to mission temp dir - self.path = os.getenv('TMP') .. "\\DCS\\Mission\\l10n\DEFAULT" + self.path = os.getenv('TMP') .. "\\DCS\\Mission\\l10n\\DEFAULT" end -- Remove (back)slashes.