From f18b4eebc6a05593d67f8caa569e8d36cc6d65b3 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 24 Sep 2018 22:52:02 +1000 Subject: [PATCH] Append data to the path when loading the screenshot entity file, as this isn't done automatically by loadfromfile --- qcsrc/server/g_world.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/g_world.qc b/qcsrc/server/g_world.qc index 86a4e0ad2..f43463a8b 100644 --- a/qcsrc/server/g_world.qc +++ b/qcsrc/server/g_world.qc @@ -957,7 +957,7 @@ spawnfunc(worldspawn) WinningConditionHelper(this); // set worldstatus world_initialized = 1; - string filename = strcat(mapname, "_scrshot_ent.txt"); // doesn't support custom paths + string filename = strcat("data/", mapname, "_scrshot_ent.txt"); // doesn't support custom paths if(fexists(filename)) loadfromfile(filename); __spawnfunc_spawn_all(); -- 2.39.2