Explorar o código

Added an initial loading message to YAML parsing

Lemongrass3110 %!s(int64=4) %!d(string=hai) anos
pai
achega
579dc7b3a1
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/common/database.cpp

+ 1 - 0
src/common/database.cpp

@@ -95,6 +95,7 @@ bool YamlDatabase::load(const std::string& path) {
 	YAML::Node rootNode;
 
 	try {
+		ShowStatus( "Loading '" CL_WHITE "%s" CL_RESET "'..." CL_CLL "\r", path.c_str() );
 		rootNode = YAML::LoadFile(path);
 	}
 	catch(YAML::Exception &e) {