mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-04 09:44:10 +00:00
compile fixes and default client_location (#809)
* support for gcc9 on ubuntu 18.04 This is needed to make filesystem work * fix default for client location
This commit is contained in:
@@ -148,7 +148,7 @@ int main(int argc, char** argv) {
|
||||
try {
|
||||
std::string client_path = config.GetValue("client_location");
|
||||
if (client_path.empty()) client_path = "./res";
|
||||
Game::assetManager = new AssetManager(config.GetValue("client_location"));
|
||||
Game::assetManager = new AssetManager(client_path);
|
||||
} catch (std::runtime_error& ex) {
|
||||
Game::logger->Log("WorldServer", "Got an error while setting up assets: %s", ex.what());
|
||||
|
||||
|
Reference in New Issue
Block a user