From fa5b6ea654a2e8e073a40e47e3463855951e8fb6 Mon Sep 17 00:00:00 2001 From: Joonas Rikkonen Date: Mon, 10 Jun 2019 17:53:25 +0300 Subject: [PATCH] (209f4ee22) Replace backslashes with slashes in content package file paths on Linux --- Barotrauma/BarotraumaShared/Source/ContentPackage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Barotrauma/BarotraumaShared/Source/ContentPackage.cs b/Barotrauma/BarotraumaShared/Source/ContentPackage.cs index 682e055ae..8b1ececdc 100644 --- a/Barotrauma/BarotraumaShared/Source/ContentPackage.cs +++ b/Barotrauma/BarotraumaShared/Source/ContentPackage.cs @@ -498,7 +498,7 @@ namespace Barotrauma { Path = path; -#if OSX +#if OSX || LINUX Path = Path.Replace("\\", "/"); #endif