From c6f0d19df511f53a18a7b5d762de8f8628de52ad Mon Sep 17 00:00:00 2001 From: oy Date: Sat, 1 Dec 2018 13:17:19 +0100 Subject: [PATCH] try to fix missing data dir for the mac app --- src/engine/shared/storage.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/shared/storage.cpp b/src/engine/shared/storage.cpp index 500ebab30..2e691af33 100644 --- a/src/engine/shared/storage.cpp +++ b/src/engine/shared/storage.cpp @@ -231,7 +231,8 @@ public: "/usr/local/share/games/teeworlds/data", "/usr/pkg/share/teeworlds/data", "/usr/pkg/share/games/teeworlds/data", - "/opt/teeworlds/data" + "/opt/teeworlds/data", + "/Volumes/Teeworlds/Teeworlds.app/Contents/Resources/data" }; const int DirsCount = sizeof(aDirs) / sizeof(aDirs[0]);