diff options
Diffstat (limited to 'Starserver/StarServer.cpp')
-rw-r--r-- | Starserver/StarServer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Starserver/StarServer.cpp b/Starserver/StarServer.cpp index ce83f81..0ed872f 100644 --- a/Starserver/StarServer.cpp +++ b/Starserver/StarServer.cpp @@ -63,13 +63,13 @@ StarServer::StarServer() : auto loader = DataLoader::GetLoader(); if (!loader) throw "Could not get DataLoader instance"; - int loadstat = loader->EnableDatafile("shatter.dat"); + int loadstat = loader->MountDatafile("shatter.dat", DataLoader::Group::BASE); if (loadstat == DataLoader::FAILED) { throw loader->LastError(); } if (loader->FindFile("start.dat")) - loader->EnableDatafile("start.dat"); + loader->MountDatafile("start.dat", DataLoader::Group::BASE); loader->EnableMedia(false); } |