aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/rpakfilesystem.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-21 20:59:57 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-21 20:59:57 +0100
commit93d540dd37298b9e9a6c1f07b5c4a8dc46a2787d (patch)
treeee87733a5689f50a9066bf5e5979e8829547b476 /NorthstarDedicatedTest/rpakfilesystem.cpp
parent3f515e00d19d969fa6697a60a32e9204a05a97ee (diff)
downloadNorthstarLauncher-93d540dd37298b9e9a6c1f07b5c4a8dc46a2787d.tar.gz
NorthstarLauncher-93d540dd37298b9e9a6c1f07b5c4a8dc46a2787d.zip
remove unnecessary header files
Diffstat (limited to 'NorthstarDedicatedTest/rpakfilesystem.cpp')
-rw-r--r--NorthstarDedicatedTest/rpakfilesystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/rpakfilesystem.cpp b/NorthstarDedicatedTest/rpakfilesystem.cpp
index 45367766..4da59836 100644
--- a/NorthstarDedicatedTest/rpakfilesystem.cpp
+++ b/NorthstarDedicatedTest/rpakfilesystem.cpp
@@ -141,7 +141,7 @@ int LoadPakAsyncHook(char* path, void* unknownSingleton, int flags, void* callba
// do this after custom paks load and in bShouldLoadPaks so we only ever call this on the root pakload call
// todo: could probably add some way to flag custom paks to not be loaded on dedicated servers in rpak.json
- if (IsDedicated() && strncmp(&originalPath[0], "common", 6)) // dedicated only needs common and common_mp
+ if (IsDedicatedServer() && strncmp(&originalPath[0], "common", 6)) // dedicated only needs common and common_mp
{
spdlog::info("Not loading pak {} for dedicated server", originalPath);
return -1;